MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / main

Function main

tests/unittests/test_torch_random.cpp:207–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205} // namespace
206
207int main() {
208 try {
209 test_float32_matches_torch_cuda();
210 test_bfloat16_matches_torch_cuda();
211 test_fill_matches_vector_api();
212 test_start_index_matches_full_generation_slice();
213 test_uniform_matches_torch_cuda();
214 test_tensor_iterator_exponential_matches_torch_cuda();
215 test_empty_null_output_is_allowed();
216 } catch (const std::exception & error) {
217 std::cerr << error.what() << '\n';
218 return 1;
219 }
220 std::cout << "torch_random_test passed\n";
221 return 0;
222}

Callers

nothing calls this directly

Tested by

no test coverage detected