Struct tensorflow::ops::UniformQuantizedAdd
source · pub struct UniformQuantizedAdd { /* private fields */ }
Expand description
Builder for the UniformQuantizedAdd
operation.
Implementations§
source§impl UniformQuantizedAdd
impl UniformQuantizedAdd
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 UniformQuantizedAdd
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<UniformQuantizedAddInst>
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<UniformQuantizedAddInst>
Builds a new instance of ‘UniformQuantizedAdd’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for UniformQuantizedAdd
impl Debug for UniformQuantizedAdd
source§impl Default for UniformQuantizedAdd
impl Default for UniformQuantizedAdd
source§fn default() -> UniformQuantizedAdd
fn default() -> UniformQuantizedAdd
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for UniformQuantizedAdd
impl Send for UniformQuantizedAdd
impl Sync for UniformQuantizedAdd
impl Unpin for UniformQuantizedAdd
impl UnwindSafe for UniformQuantizedAdd
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