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