oa::runtime::SemanticAutogradDesc

Provenance between one forward output and its autograd tape expansion.

StRust public API

Declaration

pub struct SemanticAutogradDesc { /* private fields */ }
Public Rust declaration.

Public Methods

pub const fn forward_op(self) -> SemanticOpId
pub const fn output(self) -> SemanticValueId
pub const fn output_index(self) -> usize
pub const fn sequence(self) -> u64
pub const fn backward_first_op(self) -> Option<SemanticOpId>
pub const fn backward_op_count(self) -> usize
pub const fn is_backward_expanded(self) -> bool
fn clone(&self) -> SemanticAutogradDesc
fn fmt(&self, f: &mut Formatter<'_>) -> Result
fn eq(&self, other: &SemanticAutogradDesc) -> bool

Public Method Documentation

pub const fn forward_op( self ) -> SemanticOpId
No public source comment is attached to this declaration.
pub const fn output( self ) -> SemanticValueId
No public source comment is attached to this declaration.
pub const fn output_index( self ) -> usize
No public source comment is attached to this declaration.
pub const fn sequence( self ) -> u64
No public source comment is attached to this declaration.
pub const fn backward_first_op( self ) -> Option<SemanticOpId>
No public source comment is attached to this declaration.
pub const fn backward_op_count( self ) -> usize
No public source comment is attached to this declaration.
pub const fn is_backward_expanded( self ) -> bool
No public source comment is attached to this declaration.
fn clone( &self ) -> SemanticAutogradDesc
No public source comment is attached to this declaration.
fn fmt( &self, f: &mut Formatter<'_> ) -> Result
No public source comment is attached to this declaration.
fn eq( &self, other: &SemanticAutogradDesc ) -> bool
No public source comment is attached to this declaration.