Struct syntaxdot_transformers::layers::Conv1D
source · [−]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 RefUnwindSafe for Conv1D
impl Send for Conv1D
impl !Sync for Conv1D
impl Unpin for Conv1D
impl UnwindSafe for Conv1D
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more