deepjavalibrary / deepjavalibrary/djl

Dimension mismatch or high dimensional dot operation is not supported

Open
#2,432 2 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.