-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
re-introduce n_dims
field?
#704
Comments
If |
Oh, my fault. I mean |
Yes, this is correct, but I don't think it will cause any problems. |
When loading a single-row matrix, Special treatment is needed for single-row matrices, or generally, tensors with the last |
n_dims
field is now deleted fromggml_tensor
, andggml_n_dims()
can be used to get it.Now, if we create a single column matrix (
n_dims = 2
, shape = n x 1),ggml_n_dims() == 1
which is just the same as a vector.Maybe
n_dims
can be re-introduced?The text was updated successfully, but these errors were encountered: