未验证 提交 e7deae21 编写于 作者: 张春乔 提交者: GitHub

modify np.int with np.int64 (#49967)

* change int -> int64

* Update python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_one_hot.py
上级 a34d85d9
......@@ -59,7 +59,7 @@ class TrtConvertOneHotTest(TrtLayerAutoScanTest):
},
"op_outputs": {"Out": ["output_data"]},
"op_attrs": dics[0],
"outputs_dtype": {"output_data": np.int64},
"outputs_dtype": {"output_data": np.int_},
},
]
ops = self.generate_op_config(ops_config)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册