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 noexceptEvery conversion added, in graph order.
std::size_t count() const noexceptHow many conversions were added.
std::size_t count_into(DType dtype) const noexceptHow many conversions into dtype were added.
std::size_t nodes_before() const noexceptHow many nodes the graph had before the pass.
std::size_t nodes_after() const noexceptHow many it has after.
std::size_t retyped_values() const noexceptHow many values changed element type without changing id.
std::string_view policy() const noexceptThe policy's name, as it named itself.
std::string to_string() constA multi-line human-readable summary; short when nothing happened.

