Tensorflow dtypes in python typing hints

后端 未结 0 1472
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-21 19:29

Is it possible to specify the a tensor’s dtype in the typing hint of a function? We use input_signature to declare the signature of a tf.function,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题