einsums::compute_graph::ConformanceSample#
Note
Generated from the C++ headers by apiary --emit-cpp-docs-json.
Defined in header Einsums/ComputeGraph/DescriptorConformance.hpp.
-
class ConformanceSample#
One case
check_descriptorruns a registered descriptor’s node on.The kit builds several one-node graphs from each sample and compares what their outputs hold byte for byte, so
operandsmust produce the same values every time it is called.-
std::string name#
Names the sample in a reported problem.
-
packed_gemm::ScalarType dtype#
The element type and rank the node’s executor is built for, as for
record_built.
-
std::size_t rank#
-
std::function<ConformanceOperands(Graph&)> operands#
Creates the node’s tensors in
graph, which is capturing, fills its inputs and its outputs’ prior contents, and returns their ids. Make dense tensors the graph owns (graph.create_runtime_tensor<T>(name, dims, false)) so nothing outlives the graph.
-
std::map<std::string, std::int64_t> params#
The parameters the node’s executor may read, set on each graph before capture.
-
unsigned int width#
The width a moldable node is run at to compare against width 1; 0 means the machine’s thread count.
-
double width_tolerance#
The relative difference allowed between the two, for a kernel whose reduction order changes with the thread count. Zero demands the same bytes.
-
std::string name#