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