Contents

class

SushiAI::Graph::IPrecisionPolicy

Interface selecting execution element types per operation.

Declared in
include/SushiAI/graph/precision.hpp

Implementations must be idempotent and reproducible.

Public member functions

virtual ~IPrecisionPolicy()=default
virtual PrecisionChoice choose(const PrecisionQuery &query) const =0

Chooses the element type query's operation computes in.

Parameters

query

The operation and its declared precision.

Returns

The element type and the reason for it.

virtual std::string_view name() const noexcept=0

Returns a short identifier for reporting and diagnostics.

Returns

Static string identifying the policy name.