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