You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Concat operation does not properly compare typings (line 15), resulting in an excess of redundant Cast operations.
It will return False when the input and output tensors are the same type but of different sizes (which is most of the use cases of the Concat operation)
For example, Int64TensorType(shape=[None, 1]) == Int64TensorType(shape=[None, 10])
returns False, resulting in an extra cast operation on each of the 10 Int64 inputs.
The text was updated successfully, but these errors were encountered:
sklearn-onnx/skl2onnx/operator_converters/concat_op.py
Lines 12 to 22 in 7bfcd52
The Concat operation does not properly compare typings (line 15), resulting in an excess of redundant Cast operations.
It will return False when the input and output tensors are the same type but of different sizes (which is most of the use cases of the Concat operation)
For example,
Int64TensorType(shape=[None, 1]) == Int64TensorType(shape=[None, 10])
returns False, resulting in an extra cast operation on each of the 10 Int64 inputs.
The text was updated successfully, but these errors were encountered: