Struct tensorflow::ops::UnbatchGradInst
source · [−]pub struct UnbatchGradInst {
pub op: Operation,
}
Expand description
An instance of ‘UnbatchGrad’ Operation with it’s Outputs and Inputs exposed as methods.
Fields
op: Operation
An instance of a fully built UnbatchGrad Operation in a Tensorflow graph.
Implementations
sourceimpl UnbatchGradInst
impl UnbatchGradInst
sourcepub fn batched_grad(&self) -> Output
pub fn batched_grad(&self) -> Output
Returns the ‘batched_grad’ Output of this ‘UnbatchGrad’ operation.
sourcepub fn original_input(&self) -> Input<'_>
pub fn original_input(&self) -> Input<'_>
Returns the ‘original_input’ Input of this ‘UnbatchGrad’ operation.
sourcepub fn batch_index(&self) -> Input<'_>
pub fn batch_index(&self) -> Input<'_>
Returns the ‘batch_index’ Input of this ‘UnbatchGrad’ operation.
Trait Implementations
sourceimpl Clone for UnbatchGradInst
impl Clone for UnbatchGradInst
sourcefn clone(&self) -> UnbatchGradInst
fn clone(&self) -> UnbatchGradInst
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for UnbatchGradInst
impl Debug for UnbatchGradInst
sourceimpl From<UnbatchGradInst> for Operation
impl From<UnbatchGradInst> for Operation
sourcefn from(inst: UnbatchGradInst) -> Operation
fn from(inst: UnbatchGradInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for UnbatchGradInst
impl Send for UnbatchGradInst
impl Sync for UnbatchGradInst
impl Unpin for UnbatchGradInst
impl UnwindSafe for UnbatchGradInst
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more