MCPcopy Create free account
hub / github.com/NVlabs/SegFormer / _test_encoder_decoder_forward

Route _test_encoder_decoder_forward

tests/test_models/test_forward.py:None–None  ·  view source on GitHub ↗
patch('torch.nn.modules.batchnorm._BatchNorm._check_input_dim',
       _check_input_dim)

Source from the content-addressed store, hash-verified

1"""pytest tests/test_forward.py."""
2import copy
3from os.path import dirname, exists, join
4from unittest.mock import patch

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected