MCPcopy Create free account
hub / github.com/alinlab/SelfPatch / pytorch2torchscript.py

File pytorch2torchscript.py

segmentation/tools/pytorch2torchscript.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# Copyright (c) OpenMMLab. All rights reserved.
2import argparse
3
4import mmcv

Callers

nothing calls this directly

Calls 4

check_torch_versionFunction · 0.85
pytorch2libtorchFunction · 0.85
parse_argsFunction · 0.70
_convert_batchnormFunction · 0.70

Tested by

no test coverage detected