torch.mps.profiler.metal_capture
- torch.mps.profiler.metal_capture(fname)
Context manager that enables capturing of Metal calls into gputrace
- Return type:
Iterator[None]
Context manager that enables capturing of Metal calls into gputrace
Iterator[None]