Team Ai
Apppublic

Arulkumar03/Wheat_HEAD_Detection_Counting_ComputerVision_Model

sourceHugging Facemitupdated 3y agoView on Hugging Face
0likes
__init__.py31 linesDownload Raw Back to export
1# -*- coding: utf-8 -*-2 3import warnings4 5from .flatten import TracingAdapter6from .torchscript import dump_torchscript_IR, scripting_with_instances7 8try:9    from caffe2.proto import caffe2_pb2 as _tmp10    from caffe2.python import core11 12    # caffe2 is optional13except ImportError:14    pass15else:16    from .api import *17 18 19# TODO: Update ONNX Opset version and run tests when a newer PyTorch is supported20STABLE_ONNX_OPSET_VERSION = 1121 22 23def add_export_config(cfg):24    warnings.warn(25        "add_export_config has been deprecated and behaves as no-op function.", DeprecationWarning26    )27    return cfg28 29 30__all__ = [k for k in globals().keys() if not k.startswith("_")]31