
    Ph|                    P    d dl mZ d dlmZ d dlmZ  G d d      Z G d d      Zy)	    )annotations)Dict)_Cc                       e Zd ZdZdZdZdZdZy)ExportTypesz'Specifies how the ONNX model is stored.z+Saves model in the specified protobuf file.z5Saves model in the specified ZIP file (uncompressed).z3Saves model in the specified ZIP file (compressed).z$Saves model in the specified folder.N)__name__
__module____qualname____doc__PROTOBUF_FILEZIP_ARCHIVECOMPRESSED_ZIP_ARCHIVE	DIRECTORY     fC:\Users\daisl\Desktop\realtime-object-detection\venv\Lib\site-packages\torch/onnx/_exporter_states.pyr   r      s    2AMIKR6Ir   r   c                  (    e Zd ZdZ	 	 	 	 	 	 	 	 ddZy)SymbolicContexta  Extra context for symbolic functions.

    Args:
        params_dict (Dict[str, _C.IValue]): Mapping from graph initializer name to IValue.
        env (Dict[_C.Value, _C.Value]): Mapping from Torch domain graph Value to ONNX domain graph Value.
        cur_node (_C.Node): Current node being converted to ONNX domain.
        onnx_block (_C.Block): Current ONNX block that converted nodes are being appended to.
    c                <    || _         || _        || _        || _        y )N)params_dictenvcur_node
onnx_block)selfr   r   r   r   s        r   __init__zSymbolicContext.__init__   s!     2=-0!)$.r   N)r   zDict[str, _C.IValue]r   dictr   z_C.Noder   z_C.Block)r   r	   r
   r   r   r   r   r   r   r      s2    /)/ / 	/
 /r   r   N)
__future__r   typingr   torchr   r   r   r   r   r   <module>r       s"    "  7 7/ /r   