pub enum LayerType {
FullyConnected,
Convolution,
DepthwiseConvolution,
PointwiseConvolution,
Activation,
BatchNorm,
Pooling,
Concat,
Add,
}Expand description
Layer types supported by the NPU.
Variants§
FullyConnected
Convolution
DepthwiseConvolution
PointwiseConvolution
Activation
BatchNorm
Pooling
Concat
Add
Trait Implementations§
impl Copy for LayerType
impl Eq for LayerType
impl StructuralPartialEq for LayerType
Auto Trait Implementations§
impl Freeze for LayerType
impl RefUnwindSafe for LayerType
impl Send for LayerType
impl Sync for LayerType
impl Unpin for LayerType
impl UnwindSafe for LayerType
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