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§
source§impl 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§
source§impl Clone for UnbatchGradInst
impl Clone for UnbatchGradInst
source§fn clone(&self) -> UnbatchGradInst
fn clone(&self) -> UnbatchGradInst
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for UnbatchGradInst
impl Debug for UnbatchGradInst
source§impl From<UnbatchGradInst> for Operation
impl From<UnbatchGradInst> for Operation
source§fn 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§
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