Struct tensorflow::ops::Softmax
source · pub struct Softmax { /* private fields */ }
Expand description
Builder for the Softmax
operation.
Implementations§
source§impl Softmax
impl Softmax
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>>(
&self,
logits: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>( &self, logits: O0, scope: &mut Scope ) -> Result<Operation>
Builds the Softmax
operation.
sourcepub fn build_instance(
&self,
logits: Output,
scope: &mut Scope
) -> Result<SoftmaxInst>
pub fn build_instance( &self, logits: Output, scope: &mut Scope ) -> Result<SoftmaxInst>
Builds a new instance of ‘Softmax’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Softmax
impl Send for Softmax
impl Sync for Softmax
impl Unpin for Softmax
impl UnwindSafe for Softmax
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