einsums::compute_graph::transfer_graph_registration#
Note
Generated from the C++ headers by apiary --emit-cpp-docs-json.
Defined in header Einsums/ComputeGraph/Graph.hpp.
-
void transfer_graph_registration(const Graph *from, Graph *to)#
Point the registry entry for
fromatto, for a graph that moved.Unlike an unregister followed by a register, nothing is cached for
from, whose contents now live into, and a graph captured but never executed stays listed. A no-op whenfromis not registered.- Parameters:
from – The graph’s address before the move.
to – Its address after.