MCPcopy
hub / github.com/microsoft/Cream / print

Function print

EfficientViT/classification/utils.py:175–178  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

173 builtin_print = __builtin__.print
174
175 def print(*args, **kwargs):
176 force = kwargs.pop('force', False)
177 if is_master or force:
178 builtin_print(*args, **kwargs)
179
180 __builtin__.print = print
181

Callers 15

log_everyMethod · 0.70
init_distributed_modeFunction · 0.70
load_modelFunction · 0.70
compute_throughput_cpuFunction · 0.70
compute_throughput_cudaFunction · 0.70
speed_test.pyFile · 0.70
train_one_epochFunction · 0.70
evaluateFunction · 0.70
mainFunction · 0.70
mainFunction · 0.50
init_weightsMethod · 0.50
forwardMethod · 0.50

Calls

no outgoing calls

Tested by 3

compute_throughput_cpuFunction · 0.56
compute_throughput_cudaFunction · 0.56
mainFunction · 0.40