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

Method testOneConstOutput

tensorflow/compiler/tests/jit_test.py:178–184  ·  view source on GitHub ↗

Test consisting of a single constant return value.

(self)

Source from the content-addressed store, hash-verified

176 noinline=False)
177
178 def testOneConstOutput(self):
179 """Test consisting of a single constant return value."""
180
181 def OneConstOutput():
182 return constant_op.constant([-3, 44, 99])
183
184 self._compare(OneConstOutput, [], require_kernel_launch=False)
185
186 def testConstZeroElementOutput(self):
187 """Test consisting of a constant zero element return value."""

Callers

nothing calls this directly

Calls 1

_compareMethod · 0.95

Tested by

no test coverage detected