pub struct QuantizedMatMulWithBiasAndDequantize { /* private fields */ }
Expand description
QuantizedMatMulWithBiasAndDequantize
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/QuantizedMatMulWithBiasAndDequantize
Implementations§
source§impl QuantizedMatMulWithBiasAndDequantize
impl QuantizedMatMulWithBiasAndDequantize
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>, T7: ToTensorHandle<'a>, T8: ToTensorHandle<'a>>(
&self,
ctx: &'a Context,
a: &T0,
b: &T1,
bias: &T2,
min_a: &T3,
max_a: &T4,
min_b: &T5,
max_b: &T6,
min_freezed_output: &T7,
max_freezed_output: &T8
) -> Result<TensorHandle<'a>>
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>, T7: ToTensorHandle<'a>, T8: ToTensorHandle<'a>>( &self, ctx: &'a Context, a: &T0, b: &T1, bias: &T2, min_a: &T3, max_a: &T4, min_b: &T5, max_b: &T6, min_freezed_output: &T7, max_freezed_output: &T8 ) -> Result<TensorHandle<'a>>
Execute quantized_mat_mul_with_bias_and_dequantize.
Trait Implementations§
source§impl Clone for QuantizedMatMulWithBiasAndDequantize
impl Clone for QuantizedMatMulWithBiasAndDequantize
source§fn clone(&self) -> QuantizedMatMulWithBiasAndDequantize
fn clone(&self) -> QuantizedMatMulWithBiasAndDequantize
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 QuantizedMatMulWithBiasAndDequantize
impl Send for QuantizedMatMulWithBiasAndDequantize
impl Sync for QuantizedMatMulWithBiasAndDequantize
impl Unpin for QuantizedMatMulWithBiasAndDequantize
impl UnwindSafe for QuantizedMatMulWithBiasAndDequantize
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