We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5164294 commit d500b4dCopy full SHA for d500b4d
keras_rs/src/api_export.py
@@ -13,12 +13,11 @@
13
14
class keras_rs_export:
15
def __init__(self, path: str):
16
- self.path = path
17
if namex is not None:
18
self.namex_export = namex.export(package="keras_rs", path=path)
19
20
def __call__(self, symbol: T) -> T:
21
- keras.saving.register_keras_serializable(self.path, symbol)
+ keras.saving.register_keras_serializable(package="keras_rs")(symbol)
22
23
self.namex_export(symbol)
24
return symbol
0 commit comments