pub struct UniformQuantizedConvolutionHybrid { /* private fields */ }
Expand description
Builder for the UniformQuantizedConvolutionHybrid
operation.
Implementations§
Source§impl UniformQuantizedConvolutionHybrid
impl UniformQuantizedConvolutionHybrid
Sourcepub fn window_strides<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn window_strides<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the window_strides
attribute.
Sourcepub fn padding<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn padding<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the padding
attribute.
Sourcepub fn explicit_padding<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn explicit_padding<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the explicit_padding
attribute.
Sourcepub fn lhs_dilation<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn lhs_dilation<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the lhs_dilation
attribute.
Sourcepub fn rhs_dilation<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
pub fn rhs_dilation<ArgType: Into<Vec<i64>>>(self, value: ArgType) -> Self
Sets the rhs_dilation
attribute.
Sourcepub fn batch_group_count<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn batch_group_count<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the batch_group_count
attribute.
Sourcepub fn feature_group_count<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn feature_group_count<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the feature_group_count
attribute.
Sourcepub fn dimension_numbers<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn dimension_numbers<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the dimension_numbers
attribute.
Sourcepub fn rhs_quantization_axis<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn rhs_quantization_axis<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the rhs_quantization_axis
attribute.
Sourcepub fn rhs_quantization_min_val<ArgType: Into<i64>>(
self,
value: ArgType,
) -> Self
pub fn rhs_quantization_min_val<ArgType: Into<i64>>( self, value: ArgType, ) -> Self
Sets the rhs_quantization_min_val
attribute.
Sourcepub fn rhs_quantization_max_val<ArgType: Into<i64>>(
self,
value: ArgType,
) -> Self
pub fn rhs_quantization_max_val<ArgType: Into<i64>>( self, value: ArgType, ) -> Self
Sets the rhs_quantization_max_val
attribute.
Sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
Sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>(
&self,
lhs: O0,
rhs: O1,
rhs_scales: O2,
rhs_zero_points: O3,
scope: &mut Scope,
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>>( &self, lhs: O0, rhs: O1, rhs_scales: O2, rhs_zero_points: O3, scope: &mut Scope, ) -> Result<Operation>
Builds the UniformQuantizedConvolutionHybrid
operation.
Sourcepub fn build_instance(
&self,
lhs: Output,
rhs: Output,
rhs_scales: Output,
rhs_zero_points: Output,
scope: &mut Scope,
) -> Result<UniformQuantizedConvolutionHybridInst>
pub fn build_instance( &self, lhs: Output, rhs: Output, rhs_scales: Output, rhs_zero_points: Output, scope: &mut Scope, ) -> Result<UniformQuantizedConvolutionHybridInst>
Builds a new instance of ‘UniformQuantizedConvolutionHybrid’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Source§impl Default for UniformQuantizedConvolutionHybrid
impl Default for UniformQuantizedConvolutionHybrid
Source§fn default() -> UniformQuantizedConvolutionHybrid
fn default() -> UniformQuantizedConvolutionHybrid
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for UniformQuantizedConvolutionHybrid
impl RefUnwindSafe for UniformQuantizedConvolutionHybrid
impl Send for UniformQuantizedConvolutionHybrid
impl Sync for UniformQuantizedConvolutionHybrid
impl Unpin for UniformQuantizedConvolutionHybrid
impl UnwindSafe for UniformQuantizedConvolutionHybrid
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