Struct tensorflow::eager::raw_ops::QuantizedMatMul
source · pub struct QuantizedMatMul { /* private fields */ }
Expand description
QuantizedMatMul
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/QuantizedMatMul
Implementations§
source§impl QuantizedMatMul
impl QuantizedMatMul
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 transpose_a<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn transpose_a<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the transpose_a
attribute.
sourcepub fn transpose_b<ArgType: Into<bool>>(self, value: ArgType) -> Self
pub fn transpose_b<ArgType: Into<bool>>(self, value: ArgType) -> Self
Sets the transpose_b
attribute.
sourcepub fn Tactivation<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn Tactivation<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the Tactivation
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,
a: &T0,
b: &T1,
min_a: &T2,
max_a: &T3,
min_b: &T4,
max_b: &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, a: &T0, b: &T1, min_a: &T2, max_a: &T3, min_b: &T4, max_b: &T5 ) -> Result<[TensorHandle<'a>; 3]>
Execute quantized_mat_mul.
Trait Implementations§
source§impl Clone for QuantizedMatMul
impl Clone for QuantizedMatMul
source§fn clone(&self) -> QuantizedMatMul
fn clone(&self) -> QuantizedMatMul
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 QuantizedMatMul
impl Debug for QuantizedMatMul
Auto Trait Implementations§
impl RefUnwindSafe for QuantizedMatMul
impl Send for QuantizedMatMul
impl Sync for QuantizedMatMul
impl Unpin for QuantizedMatMul
impl UnwindSafe for QuantizedMatMul
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