deepjavalibrary / deepjavalibrary/djl
Dimension mismatch or high dimensional dot operation is not supported
Open
- Dominant language
- Java
- Stars
- 4.9k
- Forks
- 759
- Avg merge
- 16h 15m
- Merged PRs (30d)
- 15
Description
**Code** :
NDManager manager = NDManager.newBaseManager();
NDArray X = manager.randomNormal(new Shape(1, 2));
NDArray trueW = manager.create(new float[]{2, -3.4f});
X.dot(trueW);
**Exception**
Dimension mismatch or high dimensional dot operation is not supported. Please use .matMul instead.
The engine is **pytorch-engine** and the environment is **windows cpu**
Thanks
Contributor guide
Assessment
This issue has not been assessed yet.