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

Method f

tensorflow/python/eager/memory_tests/memory_test.py:55–57  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53 self.skipTest("memory_profiler required to run this test")
54
55 def f():
56 inputs = Variable(array_ops.zeros([32, 100], dtypes.float32))
57 del inputs
58
59 memory_test_util.assert_no_leak(f, num_iters=10000)
60

Callers

nothing calls this directly

Calls 5

VariableClass · 0.90
graphFunction · 0.85
gradientMethod · 0.80
GradientTapeMethod · 0.45
constantMethod · 0.45

Tested by

no test coverage detected