MisconfiguredLayerError#
- exception penzai.deprecated.v1.core.layer.MisconfiguredLayerError[source]#
Raised when a layer’s attributes are misconfigured.
Subclasses of Layer can raise
MisconfiguredLayerErrorin theirinput_structureoroutput_structuremethods to indicate that their attributes have been set incorrectly and the layer cannot be successfully called with any input structure. They can also raiseMisconfiguredLayerErrorin their__call__method (although this will be raised automatically if they usechecked_layer_call.)- __init__(*args, **kwargs)#
- __new__(**kwargs)#