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