小编nav*_* kt的帖子

类型错误:“DType”对象不可调用

以下代码抛出一个 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)

为什么?

python tensorflow

1
推荐指数
1
解决办法
4653
查看次数

标签 统计

python ×1

tensorflow ×1