๐TorchArc
Declarative YAML Network Architectures
YAML Structure
net:
type: TorchArcNet
shared: false
arc:
modules:
body:
Sequential:
- LazyLinear: {out_features: 256}
- ReLU:
- LazyLinear: {out_features: 256}
- ReLU:
graph:
input: x
modules:
body: [x]
output: body
hid_layers_activation: relu
clip_grad_val: 0.5
optim_spec:
name: Adam
lr: 3.0e-4
gpu: autoYAML Anchors for Compact Specs
Define once, reuse everywhere
Merge and override
Before vs. after
Atari (Conv) Architecture
Adding Normalization Layers
Old vs. New
MLPNet (old)
TorchArcNet (new)
What's Next
Last updated
Was this helpful?