Struct tensorflow::eager::raw_ops::UniformQuantizedAdd
source · pub struct UniformQuantizedAdd { /* private fields */ }
Expand description
UniformQuantizedAdd
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/UniformQuantizedAdd
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 target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn target_device_name<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the `` attribute.
sourcepub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>, T7: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
lhs: &T0,
rhs: &T1,
lhs_scales: &T2,
lhs_zero_points: &T3,
rhs_scales: &T4,
rhs_zero_points: &T5,
output_scales: &T6,
output_zero_points: &T7
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>, T5: ToTensorHandle<'a>, T6: ToTensorHandle<'a>, T7: ToTensorHandle<'a>>( &self, ctx: &'a Context, lhs: &T0, rhs: &T1, lhs_scales: &T2, lhs_zero_points: &T3, rhs_scales: &T4, rhs_zero_points: &T5, output_scales: &T6, output_zero_points: &T7 ) -> Result<TensorHandle<'a>>
Execute uniform_quantized_add.
Trait Implementations§
source§impl Clone for UniformQuantizedAdd
impl Clone for UniformQuantizedAdd
source§fn clone(&self) -> UniformQuantizedAdd
fn clone(&self) -> UniformQuantizedAdd
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UniformQuantizedAdd
impl Debug for UniformQuantizedAdd
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