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 duplicate 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 Freeze for RequantizationRangePerChannel
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