Test consisting of a single constant return value.
(self)
| 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.""" |