Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix annotations
  • Loading branch information
xadupre committed Nov 9, 2023
commit 815e38687a45c2fdf49172dcdf384188072784b6
2 changes: 1 addition & 1 deletion onnx_array_api/light_api/annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
ELEMENT_TYPE_NAME = {
getattr(TensorProto, k): k
for k in dir(TensorProto)
if isinstance(getattr(TensorProto, k), int)
if isinstance(getattr(TensorProto, k), int) and "_" not in k
}

_type_numpy = {
Expand Down