Struct tensorflow::eager::raw_ops::UniformQuantizedClipByValue
source · pub struct UniformQuantizedClipByValue { /* private fields */ }
Expand description
UniformQuantizedClipByValue
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/UniformQuantizedClipByValue
Implementations§
source§impl UniformQuantizedClipByValue
impl UniformQuantizedClipByValue
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>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
operand: &T0,
min: &T1,
max: &T2,
scales: &T3,
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, operand: &T0, min: &T1, max: &T2, scales: &T3, zero_points: &T4 ) -> Result<TensorHandle<'a>>
Execute uniform_quantized_clip_by_value.
Trait Implementations§
source§impl Clone for UniformQuantizedClipByValue
impl Clone for UniformQuantizedClipByValue
source§fn clone(&self) -> UniformQuantizedClipByValue
fn clone(&self) -> UniformQuantizedClipByValue
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 UniformQuantizedClipByValue
impl Debug for UniformQuantizedClipByValue
Auto Trait Implementations§
impl RefUnwindSafe for UniformQuantizedClipByValue
impl Send for UniformQuantizedClipByValue
impl Sync for UniformQuantizedClipByValue
impl Unpin for UniformQuantizedClipByValue
impl UnwindSafe for UniformQuantizedClipByValue
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