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

Class LayerMetadata

training/mlp_train.py:63–71  ·  view source on GitHub ↗

Lightweight structural description of a dense layer.

Source from the content-addressed store, hash-verified

61
62@dataclass
63class LayerMetadata:
64 """Lightweight structural description of a dense layer."""
65
66 layer_index: int
67 type: str
68 name: str
69 activation: str
70 weight_shape: tuple[int, int]
71 bias_shape: tuple[int]
72
73
74@dataclass

Callers 1

capture_layer_snapshotsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected