以下代码抛出一个 TypeError
import tensorflow as tf
h=tf.int32(6)
Run Code Online (Sandbox Code Playgroud)
错误:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'DType' object is not callable
Run Code Online (Sandbox Code Playgroud)
为什么?