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