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