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

Loop Engineering: Designing the Systems That Prompt Your Agents

Loop Engineering For the last couple of years, the core skill in working with AI was writing a good prompt. You'd craft careful instru...