Contents

struct

SushiAI::Graph::DTypeMismatch

One place a graph disagrees with a precision policy.

Declared in
include/SushiAI/graph/cast_insertion.hpp

Public attributes

NodeId node = NO_NODE

The offending node.

OpID op {}

Its operation.

ValueId value = NO_VALUE

The operand or result that disagrees.

DType found = DType::FLOAT32

That value's element type.

DType expected = DType::FLOAT32

The element type the policy says the node computes in.

bool is_result = false

Whether value is one of the node's results.