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