(self, op)
| 1558 | self._AddOpInternal(op) |
| 1559 | |
| 1560 | def _AddOpInternal(self, op): |
| 1561 | # pylint: disable=protected-access |
| 1562 | if op.type in _BLACKLISTED_INFERENCE_OPS: |
| 1563 | raise NotImplementedError( |
| 1564 | "Operation of type %s (%s) is not supported on the TPU for inference." |
| 1565 | " Execution will fail if this op is used in the graph. Make sure your" |
| 1566 | " variables are using variable_scope." % (op.type, op.name)) |
| 1567 | if self._outer_context: |
| 1568 | self._outer_context.AddInnerOp(op) |
| 1569 | |
| 1570 | def AddValue(self, val): |
| 1571 | result = val |
no test coverage detected