Struct tensorflow::eager::raw_ops::QuantizedMatMulWithBiasAndRelu
source · pub struct QuantizedMatMulWithBiasAndRelu { /* private fields */ }
Expand description
QuantizedMatMulWithBiasAndRelu
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/QuantizedMatMulWithBiasAndRelu
Implementations§
source§impl QuantizedMatMulWithBiasAndRelu
impl QuantizedMatMulWithBiasAndRelu
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 input_quant_mode<ArgType: Into<String>>(self, value: ArgType) -> Self
pub fn input_quant_mode<ArgType: Into<String>>(self, value: ArgType) -> Self
Sets the input_quant_mode
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>, T6: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
a: &T0,
b: &T1,
bias: &T2,
min_a: &T3,
max_a: &T4,
min_b: &T5,
max_b: &T6
) -> 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>, T6: ToTensorHandle<'a>>( &self, ctx: &'a Context, a: &T0, b: &T1, bias: &T2, min_a: &T3, max_a: &T4, min_b: &T5, max_b: &T6 ) -> Result<[TensorHandle<'a>; 3]>
Execute quantized_mat_mul_with_bias_and_relu.
Trait Implementations§
source§impl Clone for QuantizedMatMulWithBiasAndRelu
impl Clone for QuantizedMatMulWithBiasAndRelu
source§fn clone(&self) -> QuantizedMatMulWithBiasAndRelu
fn clone(&self) -> QuantizedMatMulWithBiasAndRelu
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 moreAuto Trait Implementations§
impl RefUnwindSafe for QuantizedMatMulWithBiasAndRelu
impl Send for QuantizedMatMulWithBiasAndRelu
impl Sync for QuantizedMatMulWithBiasAndRelu
impl Unpin for QuantizedMatMulWithBiasAndRelu
impl UnwindSafe for QuantizedMatMulWithBiasAndRelu
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