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

Method testCompute

tensorflow/python/kernel_tests/lrn_op_test.py:97–102  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

95
96 @test_util.run_deprecated_v1
97 def testCompute(self):
98 for _ in range(2):
99 self._RunAndVerify(dtypes.float32)
100 # Enable when LRN supports tf.float16 on GPU.
101 if not test.is_gpu_available():
102 self._RunAndVerify(dtypes.float16)
103
104 @test_util.run_deprecated_v1
105 def testGradientsZeroInput(self):

Callers

nothing calls this directly

Calls 2

_RunAndVerifyMethod · 0.95
rangeFunction · 0.50

Tested by

no test coverage detected