Struct tensorflow::ops::UniformRequantize
source · pub struct UniformRequantize { /* private fields */ }
Expand description
Builder for the UniformRequantize
operation.
Implementations§
source§impl UniformRequantize
impl UniformRequantize
sourcepub fn input_quantization_axis<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn input_quantization_axis<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the input_quantization_axis
attribute.
sourcepub fn input_quantization_min_val<ArgType: Into<i64>>(
self,
value: ArgType
) -> Self
pub fn input_quantization_min_val<ArgType: Into<i64>>( self, value: ArgType ) -> Self
Sets the input_quantization_min_val
attribute.
sourcepub fn input_quantization_max_val<ArgType: Into<i64>>(
self,
value: ArgType
) -> Self
pub fn input_quantization_max_val<ArgType: Into<i64>>( self, value: ArgType ) -> Self
Sets the input_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>>(
&self,
input: O0,
input_scales: O1,
input_zero_points: O2,
output_scales: O3,
output_zero_points: O4,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>>( &self, input: O0, input_scales: O1, input_zero_points: O2, output_scales: O3, output_zero_points: O4, scope: &mut Scope ) -> Result<Operation>
Builds the UniformRequantize
operation.
sourcepub fn build_instance(
&self,
input: Output,
input_scales: Output,
input_zero_points: Output,
output_scales: Output,
output_zero_points: Output,
scope: &mut Scope
) -> Result<UniformRequantizeInst>
pub fn build_instance( &self, input: Output, input_scales: Output, input_zero_points: Output, output_scales: Output, output_zero_points: Output, scope: &mut Scope ) -> Result<UniformRequantizeInst>
Builds a new instance of ‘UniformRequantize’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for UniformRequantize
impl Debug for UniformRequantize
source§impl Default for UniformRequantize
impl Default for UniformRequantize
source§fn default() -> UniformRequantize
fn default() -> UniformRequantize
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for UniformRequantize
impl Send for UniformRequantize
impl Sync for UniformRequantize
impl Unpin for UniformRequantize
impl UnwindSafe for UniformRequantize
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