Code block from tensors.md
gets ValueError
with numpy>=2.0
#1968
Labels
module: IR
Intermediate representation
topic: documentation
Improvements or additions to documentation
docs/intermediate_representation/tensors.md
contains this code block:at line 157:
Itried to run it with
numpy==2.0.2
and get
With
numpy-1.26.4
it works well.Also, it works well if uncomment line 176
Actually, I hit this while tried to build docs, with 'wrong' for
requirements-dev.txt
numpy version, but I suppose, ifonnxscript
itself not restricts numpy version, so must its docs, so error.pipfreeze.txtThe text was updated successfully, but these errors were encountered: