a
    .=ic+  ã                   @   s(   d Z ddlZddlZdd„ Zdd„ ZdS )ai  This file provides a location for operators that help exporting
models via onnx. E.g. shape_as_tensor and reshape_from_tensor_shape
are to make all dynamic sizes operations traceable.

NOTE: at one point these functions were implemented differently.
Since then we have implemented these directly in ATen, so this
file is kept purely for backward-compatibility.
é    Nc                 C   s
   t  | ¡S ©N)ÚtorchZ_shape_as_tensor)Úx© r   úe/home/droni/.local/share/virtualenvs/DPS-5Je3_V2c/lib/python3.9/site-packages/torch/onnx/operators.pyÚshape_as_tensor   s    r   c                 C   s   t  | |¡S r   )r   Z_reshape_from_tensor)r   Úshaper   r   r   Úreshape_from_tensor_shape   s    r	   )Ú__doc__r   Z
torch.onnxr   r	   r   r   r   r   Ú<module>   s   	