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