Skip to main content

UNARY_SAME_ELEMENT

Static UNARY_SAME_ELEMENT 

Source
pub static UNARY_SAME_ELEMENT: &'static [TypeRelation]
Expand description

input[0].ElementType == output[0].ElementType without constraining shape. Use for ops that preserve element type but reshape (Reshape, Transpose, Slice, Squeeze, Unsqueeze).