blob: e73360645d50a685148fb615440e17ab1832f996 [file] [log] [blame]
#include <gtest/gtest.h>
#include <torch/torch.h>
#include <torch/special.h>
#include <test/cpp/api/support.h>
// Simple test that verifies the special namespace is registered properly
// properly in C++
TEST(SpecialTest, special) {
auto t = torch::randn(128, torch::kDouble);
torch::special::gammaln(t);
}