pub struct QuantizedMatMulWithBiasAndRelu { /* private fields */ }
Expand description
Builder for the QuantizedMatMulWithBiasAndRelu
operation.
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 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>>(
&self,
a: O0,
b: O1,
bias: O2,
min_a: O3,
max_a: O4,
min_b: O5,
max_b: O6,
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>>( &self, a: O0, b: O1, bias: O2, min_a: O3, max_a: O4, min_b: O5, max_b: O6, scope: &mut Scope, ) -> Result<Operation>
Builds the QuantizedMatMulWithBiasAndRelu
operation.
Trait Implementations§
Source§impl Default for QuantizedMatMulWithBiasAndRelu
impl Default for QuantizedMatMulWithBiasAndRelu
Source§fn default() -> QuantizedMatMulWithBiasAndRelu
fn default() -> QuantizedMatMulWithBiasAndRelu
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for QuantizedMatMulWithBiasAndRelu
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