Struct tensorflow::ops::UniformQuantizedConvolution
source · pub struct UniformQuantizedConvolution { /* private fields */ }
Expand description
Builder for the UniformQuantizedConvolution
operation.
Implementations§
source§impl UniformQuantizedConvolution
impl UniformQuantizedConvolution
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 lhs_quantization_axis<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn lhs_quantization_axis<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the lhs_quantization_axis
attribute.
sourcepub fn lhs_quantization_min_val<ArgType: Into<i64>>(
self,
value: ArgType
) -> Self
pub fn lhs_quantization_min_val<ArgType: Into<i64>>( self, value: ArgType ) -> Self
Sets the lhs_quantization_min_val
attribute.
sourcepub fn lhs_quantization_max_val<ArgType: Into<i64>>(
self,
value: ArgType
) -> Self
pub fn lhs_quantization_max_val<ArgType: Into<i64>>( self, value: ArgType ) -> Self
Sets the lhs_quantization_max_val
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 output_quantization_axis<ArgType: Into<i64>>(
self,
value: ArgType
) -> Self
pub fn output_quantization_axis<ArgType: Into<i64>>( self, value: ArgType ) -> Self
Sets the output_quantization_axis
attribute.
sourcepub fn output_quantization_min_val<ArgType: Into<i64>>(
self,
value: ArgType
) -> Self
pub fn output_quantization_min_val<ArgType: Into<i64>>( self, value: ArgType ) -> Self
Sets the output_quantization_min_val
attribute.
sourcepub fn output_quantization_max_val<ArgType: Into<i64>>(
self,
value: ArgType
) -> Self
pub fn output_quantization_max_val<ArgType: Into<i64>>( self, value: ArgType ) -> Self
Sets the output_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>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>, O7: Into<Output>>(
&self,
lhs: O0,
rhs: O1,
lhs_scales: O2,
lhs_zero_points: O3,
rhs_scales: O4,
rhs_zero_points: O5,
output_scales: O6,
output_zero_points: O7,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>, O7: Into<Output>>( &self, lhs: O0, rhs: O1, lhs_scales: O2, lhs_zero_points: O3, rhs_scales: O4, rhs_zero_points: O5, output_scales: O6, output_zero_points: O7, scope: &mut Scope ) -> Result<Operation>
Builds the UniformQuantizedConvolution
operation.
sourcepub fn build_instance(
&self,
lhs: Output,
rhs: Output,
lhs_scales: Output,
lhs_zero_points: Output,
rhs_scales: Output,
rhs_zero_points: Output,
output_scales: Output,
output_zero_points: Output,
scope: &mut Scope
) -> Result<UniformQuantizedConvolutionInst>
pub fn build_instance( &self, lhs: Output, rhs: Output, lhs_scales: Output, lhs_zero_points: Output, rhs_scales: Output, rhs_zero_points: Output, output_scales: Output, output_zero_points: Output, scope: &mut Scope ) -> Result<UniformQuantizedConvolutionInst>
Builds a new instance of ‘UniformQuantizedConvolution’ Operation with it’s Outputs and Inputs exposed as methods.