Skip to content

Commit 6527538

Browse files
committed
complex
1 parent e8c3c42 commit 6527538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnx_array_api/npx/npx_jit_eager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def make_key(self, *values: List[Any], **kwargs: Dict[str, Any]) -> Tuple[Any, .
167167
f"to the attribute list, v={v}."
168168
)
169169
res.append(v.key)
170-
elif isinstance(v, (int, float, bool, DType)):
170+
elif isinstance(v, (int, float, bool, complex, DType)):
171171
if iv in self.kwargs_to_input_:
172172
res.append(self.kwargs_to_input_[iv])
173173
res.append(type(v))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy