Struct tensorflow::eager::raw_ops::RequantizationRangePerChannel
source · pub struct RequantizationRangePerChannel { /* private fields */ }
Expand description
RequantizationRangePerChannel
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/RequantizationRangePerChannel
Implementations§
source§impl RequantizationRangePerChannel
impl RequantizationRangePerChannel
sourcepub fn clip_value_max<ArgType: Into<f32>>(self, value: ArgType) -> Self
pub fn clip_value_max<ArgType: Into<f32>>(self, value: ArgType) -> Self
Sets the clip_value_max
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>; 2]>
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>; 2]>
Execute requantization_range_per_channel.
Trait Implementations§
source§impl Clone for RequantizationRangePerChannel
impl Clone for RequantizationRangePerChannel
source§fn clone(&self) -> RequantizationRangePerChannel
fn clone(&self) -> RequantizationRangePerChannel
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 moreAuto Trait Implementations§
impl RefUnwindSafe for RequantizationRangePerChannel
impl Send for RequantizationRangePerChannel
impl Sync for RequantizationRangePerChannel
impl Unpin for RequantizationRangePerChannel
impl UnwindSafe for RequantizationRangePerChannel
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