Struct tensorflow::ops::QuantizedRelu6
source · pub struct QuantizedRelu6 { /* private fields */ }
Expand description
Builder for the QuantizedRelu6
operation.
Implementations§
source§impl QuantizedRelu6
impl QuantizedRelu6
sourcepub fn Tinput<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn Tinput<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the Tinput
attribute.
sourcepub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
pub fn out_type<ArgType: Into<DataType>>(self, value: ArgType) -> Self
Sets the out_type
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>>(
&self,
features: O0,
min_features: O1,
max_features: O2,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>, O1: Into<Output>, O2: Into<Output>>( &self, features: O0, min_features: O1, max_features: O2, scope: &mut Scope ) -> Result<Operation>
Builds the QuantizedRelu6
operation.
sourcepub fn build_instance(
&self,
features: Output,
min_features: Output,
max_features: Output,
scope: &mut Scope
) -> Result<QuantizedRelu6Inst>
pub fn build_instance( &self, features: Output, min_features: Output, max_features: Output, scope: &mut Scope ) -> Result<QuantizedRelu6Inst>
Builds a new instance of ‘QuantizedRelu6’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
source§impl Debug for QuantizedRelu6
impl Debug for QuantizedRelu6
source§impl Default for QuantizedRelu6
impl Default for QuantizedRelu6
source§fn default() -> QuantizedRelu6
fn default() -> QuantizedRelu6
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for QuantizedRelu6
impl Send for QuantizedRelu6
impl Sync for QuantizedRelu6
impl Unpin for QuantizedRelu6
impl UnwindSafe for QuantizedRelu6
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