예제 #1
0
template<> cfloat random<cfloat>() { return cfloat(float(std::rand()%10), float(std::rand()%10)); }
예제 #2
0
TEST(Mean, CPP_cfloat)
{
    testCPPMean<cfloat>(cfloat(2.1f), af::dim4(10, 5, 2, 1));
}
예제 #3
0
TEST(MeanAll, c32)
{
    meanAllTest<cfloat>(cfloat(2.1f), af::dim4(10, 5, 2, 1));
}