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