backward compatibility is not guaranteed.
  * **use_cuda** (*bool*) --

    Deprecated since version 1.8.1: use "activities" instead.

Note:
 Use "schedule()" to generate the callable schedule. Non-default
 schedules are useful when profiling long training jobs and allow
 the user to obtain multiple traces at the different iterations of
 the training process. The default schedule simply records all the
 events continuously for the duration of the context manager.

Note:
 Use "tensorboard_trace_handler()" to generate result files for T
 ensorBoard:"on_trace_ready=torch.profiler.tensorboard_trace_hand
 ler(dir_name)"After profiling, result files can be found in the
 specified directory. Use the command:"tensorboard --logdir
 dir_name"to see the results in TensorBoard. For more information,
 see PyTorch Profiler TensorBoard Plugin

Note:
 Enabling shape and stack tracing results in additional overhead.
