小编use*_*246的帖子

类型错误:__init__() 缺少 2 个必需的位置参数:“value_index”和“dtype”

tf.Tensor([3,2])
Run Code Online (Sandbox Code Playgroud)

当我这样做时,我收到错误

TypeError: __init__() missing 2 required positional arguments: 'value_index' and 'dtype'
Run Code Online (Sandbox Code Playgroud)

tensorflow tensorflow2.0

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

标签 统计

tensorflow ×1

tensorflow2.0 ×1