Struct leaf::layers::utility::reshape::ReshapeConfig
[−]
[src]
pub struct ReshapeConfig { pub shape: Vec<usize>, }
Specifies configuration parameters for a Reshape Layer.
Fields
shape: Vec<usize>
The target shape that the input should assume.
Preceding dimensions are treated as independent inputs
Defaults to 1
Methods
impl ReshapeConfig
[src]
fn of_shape(shape: &[usize]) -> ReshapeConfig
Create a ReshapeConfig that describes a Reshape layer with a provided shape.
Trait Implementations
impl Debug for ReshapeConfig
[src]
impl Clone for ReshapeConfig
[src]
fn clone(&self) -> ReshapeConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more