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