提交 afd9a418 authored 作者: Nicolas Bouchard's avatar Nicolas Bouchard 提交者: Frederic

added missing common subsets of dtypes

上级 9e095f2c
...@@ -37,11 +37,14 @@ python_any = any ...@@ -37,11 +37,14 @@ python_any = any
python_all = all python_all = all
# Define common subsets of dtypes (as strings). # Define common subsets of dtypes (as strings).
int_dtypes = map(str, scal.int_types)
uint_dtypes = map(str, scal.uint_types)
float_dtypes = map(str, scal.float_types)
complex_dtypes = map(str, scal.complex_types) complex_dtypes = map(str, scal.complex_types)
continuous_dtypes = map(str, scal.continuous_types) continuous_dtypes = map(str, scal.continuous_types)
discrete_dtypes = map(str, scal.discrete_types) discrete_dtypes = map(str, scal.discrete_types)
int_dtypes = map(str, scal.int_types) all_dtypes = map(str, scal.all_types)
class ShapeError(Exception): class ShapeError(Exception):
"""Raised when the shape cannot be computed.""" """Raised when the shape cannot be computed."""
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论