fix comments
This commit is contained in:
parent
1997152f7f
commit
d42531fa56
1 changed files with 2 additions and 2 deletions
|
@ -602,7 +602,7 @@ int main(int argc, const char ** argv) {
|
||||||
for (int ndims = 1; ndims <= 4; ++ndims)
|
for (int ndims = 1; ndims <= 4; ++ndims)
|
||||||
{
|
{
|
||||||
// ggml_permute will set axes of dimensions below n_dims to 1.
|
// ggml_permute will set axes of dimensions below n_dims to 1.
|
||||||
// to make ggml_permute correctly work on all axes,
|
// to make ggml_permute work correctly on all axes,
|
||||||
// the input tensor needs maximal n_dim of 4.
|
// the input tensor needs maximal n_dim of 4.
|
||||||
for (int i=0; i<ndims; ++i) {
|
for (int i=0; i<ndims; ++i) {
|
||||||
ne2[i] = ne[i];
|
ne2[i] = ne[i];
|
||||||
|
@ -636,7 +636,7 @@ int main(int argc, const char ** argv) {
|
||||||
for (int ndims = 1; ndims <= 4; ++ndims)
|
for (int ndims = 1; ndims <= 4; ++ndims)
|
||||||
{
|
{
|
||||||
// ggml_transpose will set axes of dimensions below n_dims to 1.
|
// ggml_transpose will set axes of dimensions below n_dims to 1.
|
||||||
// to make ggml_permute correctly work on all axes,
|
// to make ggml_transpose work correctly on all axes,
|
||||||
// the input tensor needs maximal n_dim of 4.
|
// the input tensor needs maximal n_dim of 4.
|
||||||
for (int i=0; i<ndims; ++i) {
|
for (int i=0; i<ndims; ++i) {
|
||||||
ne2[i] = ne[i];
|
ne2[i] = ne[i];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue