Skip to content

Commit 772e3f4

Browse files
Liyulingyuepangengzheng
authored andcommitted
modify np.int with np.int64 (PaddlePaddle#49967)
* change int -> int64 * Update python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_one_hot.py
1 parent d40e296 commit 772e3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/paddle/fluid/tests/unittests/ir/inference/test_trt_convert_one_hot.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def generate_depth(dims, batch):
5959
},
6060
"op_outputs": {"Out": ["output_data"]},
6161
"op_attrs": dics[0],
62-
"outputs_dtype": {"output_data": np.int64},
62+
"outputs_dtype": {"output_data": np.int_},
6363
},
6464
]
6565
ops = self.generate_op_config(ops_config)

0 commit comments

Comments
 (0)