我在tensorflow中打印张量值的基础上尝试了下面的方法,但是没有任何东西被打印到控制台。params_as_tensors # I want to figure out the shape of X here # Returns the natural logarithm of the inputreturn tf
TypeError: Could not build a TypeSpec for name: "tf.print/PrintV2"input: "tf.print/StringFormat} of unsupported type <class 'google3.third_party.tensorflow.python.framework.ops.Operation'>
我在打印张量的形状我可以在测试