pub struct Conv1D {
pub ws: Tensor,
pub bs: Option<Tensor>,
pub config: ConvConfig,
}
Expand description
1-D convolution.
Fields§
§ws: Tensor
§bs: Option<Tensor>
§config: ConvConfig
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Conv1D
impl RefUnwindSafe for Conv1D
impl Send for Conv1D
impl !Sync for Conv1D
impl Unpin for Conv1D
impl UnwindSafe for Conv1D
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<M> FallibleModuleT for Mwhere
M: FallibleModule,
impl<M> FallibleModuleT for Mwhere
M: FallibleModule,
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