Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
76
TEST(CpuLayerTest, Function) {
77
auto func_null = Function();
78
EXPECT_TRUE(!func_null.IsValid());
79
}
80
81
TEST(CpuLayerTest, Construct) {
82
if (FLAGS_enable_pir_api) {
Callers
nothing calls this directly
Calls
15
Scalar
Class · 0.85
GPUPlace
Class · 0.85
Pause
Method · 0.80
ElapsedMS
Method · 0.80
c_str
Method · 0.80
PrepareInputs
Function · 0.70
Function
Class · 0.50
CPUPlace
Class · 0.50
Load
Class · 0.50
func
Function · 0.50
pow
Function · 0.50
sqrt
Function · 0.50
Tested by
no test coverage detected