Struct tensorflow::eager::raw_ops::Requantize
source · pub struct Requantize { /* private fields */ }
Expand description
Requantize
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/Requantize
Implementations§
source§impl Requantize
impl Requantize
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.
Trait Implementations§
source§impl Clone for Requantize
impl Clone for Requantize
source§fn clone(&self) -> Requantize
fn clone(&self) -> Requantize
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 Requantize
impl Debug for Requantize
Auto Trait Implementations§
impl RefUnwindSafe for Requantize
impl Send for Requantize
impl Sync for Requantize
impl Unpin for Requantize
impl UnwindSafe for Requantize
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