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