mmpretrain.models.utils.is_tracing¶ mmpretrain.models.utils.is_tracing()[source]¶ Determine whether the model is called during the tracing of code with torch.jit.trace.