pub struct OpEffect {
pub name: String,
pub dtype: DtypeRule,
pub grad: GradFlow,
pub is_loss: bool,
pub note: Option<&'static str>,
pub domain: NumericDomain,
pub requires: DomainRequirement,
}Fields§
§name: String§dtype: DtypeRule§grad: GradFlow§is_loss: boolTrue when this call is treated as a scalar loss sink for connectivity queries.
note: Option<&'static str>Optional note carried into diagnostics (citation / reason).
domain: NumericDomainResult domain after float rounding. Unknown when not audited.
requires: DomainRequirementRequirement on the primary tensor operand.
Implementations§
Trait Implementations§
impl Eq for OpEffect
impl StructuralPartialEq for OpEffect
Auto Trait Implementations§
impl Freeze for OpEffect
impl RefUnwindSafe for OpEffect
impl Send for OpEffect
impl Sync for OpEffect
impl Unpin for OpEffect
impl UnsafeUnpin for OpEffect
impl UnwindSafe for OpEffect
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