pub struct QuantizedMatMulWithBiasAndDequantize { /* private fields */ }
Expand description
Builder for the QuantizedMatMulWithBiasAndDequantize
operation.
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 add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>, O7: Into<Output>, O8: Into<Output>>(
&self,
a: O0,
b: O1,
bias: O2,
min_a: O3,
max_a: O4,
min_b: O5,
max_b: O6,
min_freezed_output: O7,
max_freezed_output: O8,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>, O3: Into<Output>, O4: Into<Output>, O5: Into<Output>, O6: Into<Output>, O7: Into<Output>, O8: Into<Output>>( &self, a: O0, b: O1, bias: O2, min_a: O3, max_a: O4, min_b: O5, max_b: O6, min_freezed_output: O7, max_freezed_output: O8, scope: &mut Scope ) -> Result<Operation>
Builds the QuantizedMatMulWithBiasAndDequantize
operation.
sourcepub fn build_instance(
&self,
a: Output,
b: Output,
bias: Output,
min_a: Output,
max_a: Output,
min_b: Output,
max_b: Output,
min_freezed_output: Output,
max_freezed_output: Output,
scope: &mut Scope
) -> Result<QuantizedMatMulWithBiasAndDequantizeInst>
pub fn build_instance( &self, a: Output, b: Output, bias: Output, min_a: Output, max_a: Output, min_b: Output, max_b: Output, min_freezed_output: Output, max_freezed_output: Output, scope: &mut Scope ) -> Result<QuantizedMatMulWithBiasAndDequantizeInst>
Builds a new instance of ‘QuantizedMatMulWithBiasAndDequantize’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Default for QuantizedMatMulWithBiasAndDequantize
impl Default for QuantizedMatMulWithBiasAndDequantize
source§fn default() -> QuantizedMatMulWithBiasAndDequantize
fn default() -> QuantizedMatMulWithBiasAndDequantize
Returns the “default value” for a type. Read more
Auto 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