TorchLean API

NN.Backend.Planner

Backend Planner #

The planner is the bridge between a semantic graph and backend capsules.

Given a kernel policy, an operation tag, and a capsule registry, it chooses an admissible capsule or explains why none is available. Graph-aware layers recover operation tags from NN.IR.OpKind and call the same selection per node.

A selected kernel capsule for one graph operation.

Instances For

    One selected kernel capsule per requested operation. This record does not execute them.

    Instances For
      @[instance_reducible]

      Names of the selected backend capsules, useful for audits and logs.

      Instances For

        Choose a backend capsule for one operation.

        Instances For

          Choose backend capsules for a sequence of operations.

          Instances For

            Choose backend capsules after filtering the registry by build availability.

            Instances For