Struct ocl_convolution::I8Params
source · pub struct I8Params {
pub common: Params,
pub bit_shift: u8,
pub scale: i32,
pub output_bias: i32,
pub signal_bias: i32,
pub filter_bias: i32,
}
Expand description
Params for the quantized convolution.
See Convolution
docs for details how to set these parameters.
Fields§
§common: Params
Common parameters.
bit_shift: u8
Upscale bit shift.
scale: i32
Fixed-point scale of the post-convolution transform.
output_bias: i32
Bias for the post-convolution transform.
signal_bias: i32
Bias for the signal.
filter_bias: i32
Bias for the filters.
Implementations§
Trait Implementations§
impl Copy for I8Params
Auto Trait Implementations§
impl RefUnwindSafe for I8Params
impl Send for I8Params
impl Sync for I8Params
impl Unpin for I8Params
impl UnwindSafe for I8Params
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