Struct leaf::layers::utility::reshape::ReshapeConfig [] [src]

pub struct ReshapeConfig {
    pub shape: Vec<usize>,
}

Specifies configuration parameters for a Reshape Layer.

Fields

The target shape that the input should assume.

Preceding dimensions are treated as independent inputs

Defaults to 1

Methods

impl ReshapeConfig
[src]

Create a ReshapeConfig that describes a Reshape layer with a provided shape.

Trait Implementations

impl Debug for ReshapeConfig
[src]

Formats the value using the given formatter.

impl Clone for ReshapeConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Into<LayerType> for ReshapeConfig
[src]

Performs the conversion.