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