einsums::compute_graph::DotDescriptor#
Note
Generated from the C++ headers by apiary --emit-cpp-docs-json.
Defined in header Einsums/ComputeGraph/Node.hpp.
-
class DotDescriptor#
Metadata for the DENSE
OpKind::Dotnodes.A dot reduces two same-shaped operands to one scalar. There is exactly one choice to record, and
conjugatedis it:dotsums \(A_i B_i\) whiledotcsums \(\overline{A_i} B_i\), which for a complex operand are different numbers and for a real one are the same. Neither form carries a prefactor – there is no scalar to scale, since the destination is written rather than accumulated into – so recording one would invent an operation the kernel does not perform.The TILED dot is a different node despite sharing the kind, exactly as the tiled direct division is: it carries a
TiledDotDescriptor, whose per-tile reduction has no builder entry. CheckNode::kindAND the alternative, or askreconstruction_blocker.-
static constexpr std::string_view descriptor_name#
The descriptor’s name: its identity inside an
OpDataand in a saved graph.
-
bool conjugated#
true for
dotc(sum conj(A)*B), false for the bilineardot.
-
static constexpr std::string_view descriptor_name#