Function
I.E. tf.function
Supported argument
tf < 2.5, tf.function's supported argument types:
- int,
- float,
- bool,
- type(None),
- dtypes.DType,
- tensor_spec.TensorSpec,
- type_spec.TypeSpec
Ref
Given an unsupported type, like str
, save and load a function leads to UnknownArgument
error. Details