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