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