tf.function-> AttributeError: ‘double‘ object has no attribute ‘shape‘
跑tensorflow时出现的bug,不使用tf.function没问题,一旦挂上装饰符,就报错,报错内容如下:Traceback(mostrecentcalllast):File"D:\Anaconda3\envs\tensorflow2\lib\site-packages\tensorflow_core\python\eager\function.py",line111,in_make_inp