# 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

Last Updated: 8/4/2022, 9:25:06 PM