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