MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _neg_flops

Function _neg_flops

tensorflow/python/profiler/internal/flops_registry.py:97–99  ·  view source on GitHub ↗

Compute flops for Neg operation.

(graph, node)

Source from the content-addressed store, hash-verified

95
96@ops.RegisterStatistics("Neg", "flops")
97def _neg_flops(graph, node):
98 """Compute flops for Neg operation."""
99 return _unary_op_flops(graph, node)
100
101
102@ops.RegisterStatistics("AssignSub", "flops")

Callers

nothing calls this directly

Calls 1

_unary_op_flopsFunction · 0.85

Tested by

no test coverage detected