MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / TEST

Function TEST

test/cpp/jit/layer_test.cc:76–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76TEST(CpuLayerTest, Function) {
77 auto func_null = Function();
78 EXPECT_TRUE(!func_null.IsValid());
79}
80
81TEST(CpuLayerTest, Construct) {
82 if (FLAGS_enable_pir_api) {

Callers

nothing calls this directly

Calls 15

ScalarClass · 0.85
GPUPlaceClass · 0.85
PauseMethod · 0.80
ElapsedMSMethod · 0.80
c_strMethod · 0.80
PrepareInputsFunction · 0.70
FunctionClass · 0.50
CPUPlaceClass · 0.50
LoadClass · 0.50
funcFunction · 0.50
powFunction · 0.50
sqrtFunction · 0.50

Tested by

no test coverage detected