Struct tensorflow::eager::raw_ops::QuantizeDownAndShrinkRange
source · pub struct QuantizeDownAndShrinkRange { /* private fields */ }
Expand description
QuantizeDownAndShrinkRange
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/QuantizeDownAndShrinkRange
Implementations§
source§impl QuantizeDownAndShrinkRange
impl QuantizeDownAndShrinkRange
sourcepub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the out_type
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,
input_min: &T1,
input_max: &T2
) -> Result<[TensorHandle<'a>; 3]>
pub fn call<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>( &self, ctx: &'a Context, input: &T0, input_min: &T1, input_max: &T2 ) -> Result<[TensorHandle<'a>; 3]>
Execute quantize_down_and_shrink_range.
Trait Implementations§
source§impl Clone for QuantizeDownAndShrinkRange
impl Clone for QuantizeDownAndShrinkRange
source§fn clone(&self) -> QuantizeDownAndShrinkRange
fn clone(&self) -> QuantizeDownAndShrinkRange
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 QuantizeDownAndShrinkRange
impl Debug for QuantizeDownAndShrinkRange
Auto Trait Implementations§
impl RefUnwindSafe for QuantizeDownAndShrinkRange
impl Send for QuantizeDownAndShrinkRange
impl Sync for QuantizeDownAndShrinkRange
impl Unpin for QuantizeDownAndShrinkRange
impl UnwindSafe for QuantizeDownAndShrinkRange
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