MCPcopy 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
208def static_flops(program, print_detail=False):
209 graph = GraphWrapper(program)
210 return _graph_flops(graph, detail=print_detail)
211
212
213class Table:

Callers 1

flopsFunction · 0.85

Calls 2

GraphWrapperClass · 0.85
_graph_flopsFunction · 0.85

Tested by

no test coverage detected