API Reference#
- flax.config package
- flax.core.frozen_dict package
- flax.cursor package
- flax.errors package
AlreadyExistsError
ApplyModuleInvalidMethodError
ApplyScopeInvalidVariablesStructureError
ApplyScopeInvalidVariablesTypeError
AssignSubModuleError
CallCompactUnboundModuleError
CallSetupUnboundModuleError
CallUnbindOnUnboundModuleError
CursorFindError
DescriptorAttributeError
IncorrectPostInitOverrideError
InvalidCheckpointError
InvalidFilterError
InvalidInstanceModuleError
InvalidRngError
InvalidScopeError
JaxTransformError
LazyInitError
MPACheckpointingRequiredError
MPARestoreDataCorruptedError
MPARestoreTargetRequiredError
ModifyScopeVariableError
MultipleMethodsCompactError
NameInUseError
PartitioningUnspecifiedError
ReservedModuleAttributeError
ScopeCollectionNotFound
ScopeParamNotFoundError
ScopeParamShapeError
ScopeVariableNotFoundError
SetAttributeFrozenModuleError
SetAttributeInModuleSetupError
TransformTargetError
TransformedMethodReturnValueError
TraverseTreeError
- flax.experimental.nnx
- flax.jax_utils package
- flax.linen
- Module
Module
Module.__setattr__()
Module.apply()
Module.bind()
Module.copy()
Module.get_variable()
Module.has_rng()
Module.has_variable()
Module.init()
Module.init_with_output()
Module.is_initializing()
Module.is_mutable_collection()
Module.lazy_init()
Module.make_rng()
Module.module_paths()
Module.param()
Module.perturb()
Module.put_variable()
Module.setup()
Module.sow()
Module.tabulate()
Module.unbind()
Module.variable()
Module.variables
apply()
init()
init_with_output()
intercept_methods()
- Init/Apply
- Layers
- Activation functions
- Initializers
- Transformations
- Inspection
- Variable dictionary
- SPMD
- Decorators
- Profiling
- Module
- flax.serialization package
- flax.struct package
- flax.traceback_util package
- flax.training package
- flax.traverse_util package