Struct smartnoise_runtime::proto::Reshape[][src]

pub struct Reshape {
    pub symmetric: bool,
    pub layout: String,
    pub shape: Vec<u32, Global>,
}

Reshape Component

Reshapes a row vector into a matrix.

This struct represents an abstract computation. Arguments are provided via the graph. Additional options are set via the fields on this struct. The return is the result of the reshape on the arguments.

Arguments

Returns

Fields

symmetric: bool

Set if data are elements from the upper triangle of a symmetric matrix.

layout: String

Consecutive elements of either the row or column reside next to each other. Note that multi-row inputs are reshaped to partitional outputs, having one matrix per partition.

shape: Vec<u32, Global>

The shape of the output matrix. Dimensionality may not be greater than 2.

Trait Implementations

impl Clone for Reshape[src]

impl Component for Reshape[src]

impl Debug for Reshape[src]

impl Default for Reshape[src]

impl Evaluable for Reshape[src]

impl Message for Reshape[src]

impl PartialEq<Reshape> for Reshape[src]

impl StructuralPartialEq for Reshape[src]

Auto Trait Implementations

impl RefUnwindSafe for Reshape

impl Send for Reshape

impl Sync for Reshape

impl Unpin for Reshape

impl UnwindSafe for Reshape

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Az for T[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedAs for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> OverflowingAs for T[src]

impl<T> SaturatingAs for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> UnwrappedAs for T[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WrappingAs for T[src]