Skip to content

Commit 772dbe6

Browse files
authored
Use make_tensor_sequence_value_info instead of deprecated make_sequence_value_info (#1930)
Signed-off-by: Chun-Wei Chen <[email protected]>
1 parent a64af2e commit 772dbe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tf2onnx/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def make_onnx_inputs_outputs(name, elem_type, shape, **kwargs):
169169
if elem_type is None:
170170
elem_type = onnx_pb.TensorProto.UNDEFINED
171171
elif isinstance(elem_type, SeqType):
172-
return helper.make_sequence_value_info(name, elem_type.dtype, make_onnx_shape(shape), **kwargs)
172+
return helper.make_tensor_sequence_value_info(name, elem_type.dtype, make_onnx_shape(shape), **kwargs)
173173
return helper.make_tensor_value_info(
174174
name,
175175
elem_type,

0 commit comments

Comments
 (0)