Keeps track of previous XLA scope calls, and depth of current call.
| 30 | |
| 31 | |
| 32 | class _XlaScope(object): |
| 33 | """Keeps track of previous XLA scope calls, and depth of current call.""" |
| 34 | |
| 35 | def __init__(self, count, depth): |
| 36 | self.count = count |
| 37 | self.depth = depth |
| 38 | |
| 39 | |
| 40 | @contextlib.contextmanager |
no outgoing calls
no test coverage detected