summaryrefslogtreecommitdiff
path: root/candle-pyo3/py_src/candle/utils/__init__.pyi
diff options
context:
space:
mode:
authorLukas Kreussel <65088241+LLukas22@users.noreply.github.com>2023-10-29 16:41:44 +0100
committerGitHub <noreply@github.com>2023-10-29 15:41:44 +0000
commit174b20805230abaf91b838598d84ab142f31a975 (patch)
tree775e1ca849f2e9f0ac2a32df476106ec1bb3a5dc /candle-pyo3/py_src/candle/utils/__init__.pyi
parent154c674a798fd5a40d57ff9a8664856d9c41ca56 (diff)
downloadcandle-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/utils/__init__.pyi')
-rw-r--r--candle-pyo3/py_src/candle/utils/__init__.pyi2
1 files changed, 1 insertions, 1 deletions
diff --git a/candle-pyo3/py_src/candle/utils/__init__.pyi b/candle-pyo3/py_src/candle/utils/__init__.pyi
index d3b93766..4ee51c29 100644
--- a/candle-pyo3/py_src/candle/utils/__init__.pyi
+++ b/candle-pyo3/py_src/candle/utils/__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