51 for (uint32_t i = 0; i < const_one->size<
FLOAT32>(); ++i)
52 if (const_one->at<
FLOAT32>(i) != 1.0f)
65 EXO_ASSERT(sqrt,
"sqrt should be valid at this point");
85 if (
auto div = as_candidate(node))
Logical unit of computation.
void with(Node *into) const
Class to build tensor data.
loco::Node * x(void) const
#define EXO_ASSERT(condition, msg)
std::set< loco::Node * > active_nodes(const std::vector< loco::Node * > &roots)
Enumerate all the nodes required to compute "roots".
std::vector< Node * > output_nodes(Graph *)
DataType
"scalar" value type
Subst< SubstQualifier::Default > replace(Node *node)
bool run(loco::Graph *g) final
Run the pass.