createDefaultTernaryTestCase Class — pytorch Architecture
Architecture documentation for the createDefaultTernaryTestCase class in vec_test_all_types.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/test/vec_test_all_types.h lines 1650–1658
template<typename T>
TestingCase<T> createDefaultTernaryTestCase(TestSeed seed = TestSeed(), bool bitwise = false, bool checkWithTolerance = false, size_t trials = 0) {
TestingCase<T> testCase = TestingCase<T>::getBuilder()
.set(bitwise, false)
.addDomain(CheckWithinDomains<UvalueType<T>>{})
.setTrialCount(trials)
.setTestSeed(seed);
return testCase;
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free