pub struct FusedBatchNormV2 { /* private fields */ }
Expand description
Builder for the FusedBatchNormV2
operation.
Implementations§
Source§impl FusedBatchNormV2
impl FusedBatchNormV2
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.
Trait Implementations§
Source§impl Debug for FusedBatchNormV2
impl Debug for FusedBatchNormV2
Source§impl Default for FusedBatchNormV2
impl Default for FusedBatchNormV2
Source§fn default() -> FusedBatchNormV2
fn default() -> FusedBatchNormV2
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FusedBatchNormV2
impl RefUnwindSafe for FusedBatchNormV2
impl Send for FusedBatchNormV2
impl Sync for FusedBatchNormV2
impl Unpin for FusedBatchNormV2
impl UnwindSafe for FusedBatchNormV2
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