pub struct SparseSoftmaxCrossEntropyWithLogitsInst {
pub op: Operation,
}
Expand description
An instance of ‘SparseSoftmaxCrossEntropyWithLogits’ Operation with it’s Outputs and Inputs exposed as methods.
Fields§
§op: Operation
An instance of a fully built SparseSoftmaxCrossEntropyWithLogits Operation in a Tensorflow graph.
Implementations§
source§impl SparseSoftmaxCrossEntropyWithLogitsInst
impl SparseSoftmaxCrossEntropyWithLogitsInst
sourcepub fn loss(&self) -> Output
pub fn loss(&self) -> Output
Returns the ‘loss’ Output of this ‘SparseSoftmaxCrossEntropyWithLogits’ operation.
sourcepub fn backprop(&self) -> Output
pub fn backprop(&self) -> Output
Returns the ‘backprop’ Output of this ‘SparseSoftmaxCrossEntropyWithLogits’ operation.
Trait Implementations§
source§impl Clone for SparseSoftmaxCrossEntropyWithLogitsInst
impl Clone for SparseSoftmaxCrossEntropyWithLogitsInst
source§fn clone(&self) -> SparseSoftmaxCrossEntropyWithLogitsInst
fn clone(&self) -> SparseSoftmaxCrossEntropyWithLogitsInst
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 From<SparseSoftmaxCrossEntropyWithLogitsInst> for Operation
impl From<SparseSoftmaxCrossEntropyWithLogitsInst> for Operation
source§fn from(inst: SparseSoftmaxCrossEntropyWithLogitsInst) -> Operation
fn from(inst: SparseSoftmaxCrossEntropyWithLogitsInst) -> Operation
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for SparseSoftmaxCrossEntropyWithLogitsInst
impl Send for SparseSoftmaxCrossEntropyWithLogitsInst
impl Sync for SparseSoftmaxCrossEntropyWithLogitsInst
impl Unpin for SparseSoftmaxCrossEntropyWithLogitsInst
impl UnwindSafe for SparseSoftmaxCrossEntropyWithLogitsInst
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