pub struct ConvolutionND<D> {
pub weight: Tensor,
pub bias: Tensor,
pub stride: Vec<i64>,
pub padding: Vec<i64>,
pub dilation: Vec<i64>,
pub groups: i64,
pub data_format: D,
}Fields§
§weight: Tensor§bias: Tensor§stride: Vec<i64>§padding: Vec<i64>§dilation: Vec<i64>§groups: i64§data_format: DAuto Trait Implementations§
impl<D> Freeze for ConvolutionND<D>where
D: Freeze,
impl<D> RefUnwindSafe for ConvolutionND<D>where
D: RefUnwindSafe,
impl<D> Send for ConvolutionND<D>where
D: Send,
impl<D> Sync for ConvolutionND<D>where
D: Sync,
impl<D> Unpin for ConvolutionND<D>where
D: Unpin,
impl<D> UnwindSafe for ConvolutionND<D>where
D: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more