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