(self, name, timestamp, tensors_pid, allocator, num_bytes)
| 619 | tid, tensor.object_id, snapshot) |
| 620 | |
| 621 | def _produce_tensor(self, name, timestamp, tensors_pid, allocator, num_bytes): |
| 622 | object_id = len(self._tensors) |
| 623 | tensor = _TensorTracker(name, object_id, timestamp, tensors_pid, allocator, |
| 624 | num_bytes) |
| 625 | self._tensors[name] = tensor |
| 626 | return tensor |
| 627 | |
| 628 | def _is_gputrace_device(self, device_name): |
| 629 | """Returns true if this device is part of the GPUTracer logging.""" |
no test coverage detected