Struct tensorflow::eager::raw_ops::UniformQuantize
source · pub struct UniformQuantize { /* private fields */ }
Expand description
UniformQuantize
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/UniformQuantize
Implementations§
source§impl UniformQuantize
impl UniformQuantize
sourcepub fn quantization_axis<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn quantization_axis<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the quantization_axis
attribute.
sourcepub fn quantization_min_val<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn quantization_min_val<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the quantization_min_val
attribute.
sourcepub fn quantization_max_val<ArgType: Into<i64>>(self, value: ArgType) -> Self
pub fn quantization_max_val<ArgType: Into<i64>>(self, value: ArgType) -> Self
Sets the 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>>(
&self,
ctx: &'a Context,
input: &T0,
scales: &T1,
zero_points: &T2
) -> Result<TensorHandle<'a>>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0, scales: &T1, zero_points: &T2 ) -> Result<TensorHandle<'a>>
Execute uniform_quantize.
Trait Implementations§
source§impl Clone for UniformQuantize
impl Clone for UniformQuantize
source§fn clone(&self) -> UniformQuantize
fn clone(&self) -> UniformQuantize
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 UniformQuantize
impl Debug for UniformQuantize
Auto Trait Implementations§
impl RefUnwindSafe for UniformQuantize
impl Send for UniformQuantize
impl Sync for UniformQuantize
impl Unpin for UniformQuantize
impl UnwindSafe for UniformQuantize
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