Trait burn::tensor::ReshapeArgs
pub trait ReshapeArgs<const D2: usize> {
// Required method
fn into_shape<B, const D: usize, K>(
self,
tensor: &Tensor<B, D, K>,
) -> Shape<D2>
where B: Backend,
K: BasicOps<B>;
}
Expand description
Trait used for reshape arguments.
Required Methods§
Object Safety§
This trait is not object safe.