Contents

struct

SushiAI::Ops::OpName

One operation's identity: the string and its hash, kept together.

Declared in
include/SushiAI/core/ops.hpp

Pairing them is what lets the uniqueness check report which two names collided, and lets a diagnostic print a name for an id.

Public attributes

std::string_view name

The dotted, prefixed name; also what the profiler shows.

OpID id

The hash of name, as SushiRuntime identifies it.

bool differentiable = false

Whether a backward rule must exist for this operation.

Proved by autograd/rules/all.hpp, which is where the rule table is visible; this file only declares the claim.