pub struct Flatten2D;
Requires Nightly Flattens 3d tensors to 1d, and 4d tensors to 2d.
source
Input
TypeId
self
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U