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