pub struct ReLuLayerQ4;Expand description
INT4 quantized ReLU activation layer.
Implementations§
Source§impl ReLuLayerQ4
impl ReLuLayerQ4
Trait Implementations§
Source§impl QuantizedLayerI4 for ReLuLayerQ4
impl QuantizedLayerI4 for ReLuLayerQ4
fn layer_type(&self) -> LayerType
fn weight_memory_bytes(&self) -> usize
fn fwd_i4( &self, input: &TensorI4, input_params: &QuantParams, ) -> (TensorI4, QuantParams)
Auto Trait Implementations§
impl Freeze for ReLuLayerQ4
impl RefUnwindSafe for ReLuLayerQ4
impl Send for ReLuLayerQ4
impl Sync for ReLuLayerQ4
impl Unpin for ReLuLayerQ4
impl UnwindSafe for ReLuLayerQ4
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