andevellicus commented on issue #18491:
URL:
https://github.com/apache/incubator-mxnet/issues/18491#issuecomment-640907463
Changing
```
shape = matchall(r"\d+", str)
```
to
```
shape = collect(m.match for m in eachmatch(r"\d+", str))
```
will fix this error.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]