I'm not going to pretend to undestand the magic that goes on behind keras_core_export, but if I had to guess I'd say the intent of it's annotation on the Operation class was to make it available under keras_core.Operation. It's not.
from keras_core import Operation
or
import keras_core
print(keras_core.Operation)
raise an ImportError / AttributeError respectively. Is this just because Operation isn't included in keras_core.__init__?
I'm not going to pretend to undestand the magic that goes on behind
keras_core_export
, but if I had to guess I'd say the intent of it's annotation on theOperation
class was to make it available underkeras_core.Operation
. It's not.or
raise an
ImportError
/AttributeError
respectively. Is this just becauseOperation
isn't included inkeras_core.__init__
?