Shortcuts

mmcls.models.utils.is_tracing

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

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