GetStateΒΆ

Retrieves the state (parameters/variables) from a model node.

Abstract Signature:

GetState(node, filters)

PyTorch

API: β€”
Strategy: Macro '{node}.state_dict()'

Keras

API: β€”
Strategy: Macro '{node}.weights'

Flax NNX

API: flax.nnx.variables
Strategy: Direct Mapping