Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaddlePaddle/Paddle
/ static_flops
Function
static_flops
python/paddle/hapi/static_flops.py:208–210 ·
view source on GitHub ↗
(program, print_detail=False)
Source
from the content-addressed store, hash-verified
206
207
208
def
static_flops(program, print_detail=False):
209
graph = GraphWrapper(program)
210
return
_graph_flops(graph, detail=print_detail)
211
212
213
class
Table:
Callers
1
flops
Function · 0.85
Calls
2
GraphWrapper
Class · 0.85
_graph_flops
Function · 0.85
Tested by
no test coverage detected