MCPcopy Create free account
hub / github.com/DFin/Neural-Network-Visualisation / LayerSnapshot

Class LayerSnapshot

training/mlp_train.py:75–80  ·  view source on GitHub ↗

Snapshot of a dense layer's parameters.

Source from the content-addressed store, hash-verified

73
74@dataclass
75class LayerSnapshot:
76 """Snapshot of a dense layer's parameters."""
77
78 metadata: LayerMetadata
79 weight: torch.Tensor
80 bias: torch.Tensor
81
82
83@dataclass

Callers 1

capture_layer_snapshotsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected