Performance, Pytorch, Deep Learning, Artificial Intelligence, Tensorboard.
synchronization event. In the case of our loss function, we can easily accomplish this using the torch.where operator as shown in the code block below: def ignore_background(self, target: Tensor) -> Tensor: with torch.profiler.record_function('update background'): target =