Shortcuts

mmpretrain.models.utils.is_tracing

mmpretrain.models.utils.is_tracing()[源代码]

Determine whether the model is called during the tracing of code with torch.jit.trace.