MCPcopy Create free account
hub / github.com/cactus-compute/cactus / test_precision_traits

Function test_precision_traits

tests/test_graph.cpp:562–566  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

560}
561
562bool test_precision_traits() {
563 assert(PrecisionTraits::size_of(Precision::INT8) == 1);
564 assert(PrecisionTraits::size_of(Precision::FP32) == 4);
565 return true;
566}
567
568bool test_graph_precision_construction() {
569 TestUtils::FP16TestFixture fixture("Graph Precision Construction");

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected