diff options
author | Lukas Kreussel <65088241+LLukas22@users.noreply.github.com> | 2023-10-29 16:41:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-29 15:41:44 +0000 |
commit | 174b20805230abaf91b838598d84ab142f31a975 (patch) | |
tree | 775e1ca849f2e9f0ac2a32df476106ec1bb3a5dc /candle-pyo3/py_src/candle/functional/__init__.pyi | |
parent | 154c674a798fd5a40d57ff9a8664856d9c41ca56 (diff) | |
download | candle-174b20805230abaf91b838598d84ab142f31a975.tar.gz candle-174b20805230abaf91b838598d84ab142f31a975.tar.bz2 candle-174b20805230abaf91b838598d84ab142f31a975.zip |
PyO3: Better shape handling (#1143)
* Negative and `*args` shape handling
* Rename to `PyShapeWithHole` + validate that only one hole exists
* Regenerate stubs
---------
Co-authored-by: Laurent Mazare <laurent.mazare@gmail.com>
Diffstat (limited to 'candle-pyo3/py_src/candle/functional/__init__.pyi')
-rw-r--r-- | candle-pyo3/py_src/candle/functional/__init__.pyi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-pyo3/py_src/candle/functional/__init__.pyi b/candle-pyo3/py_src/candle/functional/__init__.pyi index 5bf5c4c3..4f7c2aa6 100644 --- a/candle-pyo3/py_src/candle/functional/__init__.pyi +++ b/candle-pyo3/py_src/candle/functional/__init__.pyi @@ -1,7 +1,7 @@ # Generated content DO NOT EDIT from typing import Any, Callable, Dict, List, Optional, Tuple, Union, Sequence from os import PathLike -from candle.typing import _ArrayLike, Device, Scalar, Index +from candle.typing import _ArrayLike, Device, Scalar, Index, Shape from candle import Tensor, DType, QTensor @staticmethod |