/usr/local/lib64/python3.6/site-packages/torch/onnx/__pycache__
Edit: /usr/local/lib64/python3.6/site-packages/torch/onnx/__pycache__/operators.cpython-36.pyc (884B)
3
ûEgC ã @ s0 d Z ddlZddlZddlZdd„ Zdd„ ZdS )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 j| ƒS )N)ÚtorchZ_shape_as_tensor)Úx© r ú@/usr/local/lib64/python3.6/site-packages/torch/onnx/operators.pyÚshape_as_tensor s r c C s t j| |ƒS )N)r Z_reshape_from_tensor)r Úshaper r r Úreshape_from_tensor_shape s r )Ú__doc__r Z
torch.onnxZtorch.onnx.utilsr r r r r r Ú
s