“35c37ace17c0f0d09c1c53fd25a82c8458d3e1e1”上不存在“examples/vctk/ernie_sat/local/train.sh”
提交 41ac3372 编写于 作者: 刘托

Merge branch 'fix_onnx_gpu_validate' into 'master'

fix python list shallow copy in onnx validate

See merge request !1120
......@@ -294,7 +294,7 @@ def validate_onnx_model(platform, device_type, model_file,
input_dict[input_names[i]] = input_value
onnx_outputs = []
for i in range(len(output_names)):
out_shape = output_shapes[i]
out_shape = output_shapes[i][:]
if output_data_formats[i] == common.DataFormat.NHWC and\
len(out_shape) == 4:
out_shape[1], out_shape[2], out_shape[3] = \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册