Struct tensorflow::eager::raw_ops::UniformDequantize
source · pub struct UniformDequantize { /* private fields */ }
Expand description
UniformDequantize
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/UniformDequantize
Implementations§
source§impl UniformDequantize
impl UniformDequantize
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_dequantize.
Trait Implementations§
source§impl Clone for UniformDequantize
impl Clone for UniformDequantize
source§fn clone(&self) -> UniformDequantize
fn clone(&self) -> UniformDequantize
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 UniformDequantize
impl Debug for UniformDequantize
Auto Trait Implementations§
impl RefUnwindSafe for UniformDequantize
impl Send for UniformDequantize
impl Sync for UniformDequantize
impl Unpin for UniformDequantize
impl UnwindSafe for UniformDequantize
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