We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51b48e2 commit 55512d0Copy full SHA for 55512d0
src/onnx_ir/_core.py
@@ -839,7 +839,7 @@ def shape(self) -> Shape:
839
@property
840
def size(self) -> int:
841
"""The number of elements in the tensor."""
842
- return sum((len(string) for string in self.string_data()))
+ return sum(len(string) for string in self.string_data())
843
844
845
def nbytes(self) -> int:
0 commit comments