class
SushiAI::Eager::ScopePartitioner
Cuts a graph only where the caller opened or closed a scope.
- Declared in
include/SushiAI/eager/scope_partitioner.hpp- Inherits
SushiAI::Eager::RegionPartitioner
See also
include/SushiAI/eager/README.md
Public member functions
virtual Partition assign(const Graph::Graph &graph, SushiRuntime::span< const Segment > segments, const Autograd::Provenance &provenance) const overrideGives segment k key k and its backward nodes key 2m - k, for m segments.
Parameters
segmentsThe forward trace's segments; they cover every forward node.
provenanceThe record differentiate() filled for
graph.

