↓ 3 callersFunctiontest_model(model, criterion, test_dl, device, prefix, batch_size, test_dl_len=None, fp16=False)
training/train_watermark.py:87
↓ 1 callersFunction_merge_small_dimsMerge small dimensions. If there are some small dimensions, we collapse them: e.g. [1, 2, 512, 1, 2048, 1, 3, 4] --> [1024, 2048, 12] if max_dim
training/scalable_shampoo/shampoo.py:185
↓ 1 callersFunctiontest_model(model, criterion, test_dl, device, batch_size, prefix, fp16=False, log_all_images=False)
training/eval_watermark.py:78