pub struct ShapeOpIr {
pub input: TensorIr,
pub out: TensorIr,
}Expand description
Shape operation intermediate representation.
Fields§
§input: TensorIrInput tensor intermediate representation.
out: TensorIrOutput tensor intermediate representation with the new shape.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ShapeOpIr
impl<'de> Deserialize<'de> for ShapeOpIr
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for ShapeOpIr
Auto Trait Implementations§
impl Freeze for ShapeOpIr
impl RefUnwindSafe for ShapeOpIr
impl Send for ShapeOpIr
impl Sync for ShapeOpIr
impl Unpin for ShapeOpIr
impl UnwindSafe for ShapeOpIr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more