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