Struct tensorflow::eager::raw_ops::UniformRequantize
source · pub struct UniformRequantize { /* private fields */ }
Expand description
UniformRequantize
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/UniformRequantize
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 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>>(
&self,
ctx: &'a Context,
input: &T0,
input_scales: &T1,
input_zero_points: &T2,
output_scales: &T3,
output_zero_points: &T4
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0, input_scales: &T1, input_zero_points: &T2, output_scales: &T3, output_zero_points: &T4 ) -> Result<TensorHandle<'a>>
Execute uniform_requantize.
Trait Implementations§
source§impl Clone for UniformRequantize
impl Clone for UniformRequantize
source§fn clone(&self) -> UniformRequantize
fn clone(&self) -> UniformRequantize
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 UniformRequantize
impl Debug for UniformRequantize
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