MCPcopy
hub / github.com/pytorch/vision / print

Function print

references/detection/utils.py:223–226  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

221 builtin_print = __builtin__.print
222
223 def print(*args, **kwargs):
224 force = kwargs.pop("force", False)
225 if is_master or force:
226 builtin_print(*args, **kwargs)
227
228 __builtin__.print = print
229

Callers 15

mainFunction · 0.70
log_everyMethod · 0.70
init_distributed_modeFunction · 0.70
summarizeMethod · 0.70
train_one_epochFunction · 0.70
evaluateFunction · 0.70
setup.pyFile · 0.50
make_C_extensionFunction · 0.50
find_libraryFunction · 0.50
make_image_extensionFunction · 0.50

Calls

no outgoing calls

Tested by 8

_assert_expectedFunction · 0.40
smoke_test_torchvisionFunction · 0.40
smoke_test_compileFunction · 0.40
mainFunction · 0.40
test_errorMethod · 0.40
test_edge_casesMethod · 0.40

Used in the wild real call sites across dependent graphs

searching dependent graphs…