在call函数上面加入@tf.function(方便savedmodel导出), 训练的时候出现ValueError: train() should not modify its Python input arguments. Check if it modifies any lists or dicts passed as arguments. Modifying a copy is allowed. 请问怎么解决
在call函数上面加入@tf.function(方便savedmodel导出), 训练的时候出现ValueError: train() should not modify its Python input arguments. Check if it modifies any lists or dicts passed as arguments. Modifying a copy is allowed. 请问怎么解决