#include #include #include #include // Simple test that verifies the special namespace is registered properly // properly in C++ // NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables) TEST(SpecialTest, special) { // NOLINTNEXTLINE(cppcoreguidelines-avoid-magic-numbers) auto t = torch::randn(128, torch::kDouble); torch::special::gammaln(t); }