Contents

class

SushiAI::Graph::CastReport

Summarises the casts and value retitlings inserted by the pass.

Declared in
include/SushiAI/graph/cast_insertion.hpp

Public member functions

SushiRuntime::span< const InsertedCast > casts() const noexcept

Every conversion added, in graph order.

std::size_t count() const noexcept

How many conversions were added.

std::size_t count_into(DType dtype) const noexcept

How many conversions into dtype were added.

std::size_t nodes_before() const noexcept

How many nodes the graph had before the pass.

std::size_t nodes_after() const noexcept

How many it has after.

std::size_t retyped_values() const noexcept

How many values changed element type without changing id.

std::string_view policy() const noexcept

The policy's name, as it named itself.

std::string to_string() const

A multi-line human-readable summary; short when nothing happened.