Thursday, June 10, 2021

SyntaxError: positional argument follows keyword argument

 tf.TensorSpec(shape=[None , None , 3] , tf.float32)

^ SyntaxError: positional argument follows keyword argument


Correct :
 tf.TensorSpec(shape=[None , None , 3] , dtype= tf.float32)

No comments:

Post a Comment

useful links

  https://github.com/huggingface/cookbook/tree/main/notebooks/en  hugging face ai cookbooks  https://colab.research.google.com/github/huggin...