MCPcopy Create free account
hub / github.com/OpenBMB/VisRAG / decay_batch_step

Function decay_batch_step

timm_modified/timm/utils/decay_batch.py:8–29  ·  view source on GitHub ↗

power of two batch-size decay with intra steps Decay by stepping between powers of 2: * determine power-of-2 floor of current batch size (base batch size) * divide above value by num_intra_steps to determine step size * floor batch_size to nearest multiple of step_size (from base b

(batch_size, num_intra_steps=2, no_odd=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_try_runFunction · 0.90
_try_runFunction · 0.90

Calls 1

logMethod · 0.45

Tested by

no test coverage detected