einsums::compute_graph::TiledElementwiseDescriptor#
Note
Generated from the C++ headers by apiary --emit-cpp-docs-json.
Defined in header Einsums/ComputeGraph/Node.hpp.
-
class TiledElementwiseDescriptor#
Metadata for a TILED elementwise node (scale or axpy).
Like
TiledEinsumDescriptor, these record asOpKind::Customand run per tile, so without a descriptor the operation and its scalar are sealed inside a closure. Carrying them lets TiledExpansion lower the node into one dense op per populated tile.A distinct type from
ScaleDescriptorandAxpbyDescriptorfor the same reason the tiled einsum has its own: passes probeget_if<...>for those without checking the node kind, and a tiled operand has no single buffer for them to work on.The operand TensorIds are on the node itself. A Scale reads and writes one tensor, listed in both
Node::inputsandNode::outputs; an Axpy reads X and Y and writes Y, so Y appears in both lists too. A Divide reads A and B, writes C, and additionally reads C whenbeta != 0.-
static constexpr std::string_view descriptor_name#
The descriptor’s name: its identity inside an
OpDataand in a saved graph.
-
std::shared_ptr<TiledElementwiseParams> params#
Live scalar, shared with the executor: a pass that rewrites this changes what the next
graph.execute()computes.
-
static constexpr std::string_view descriptor_name#