Browse Source

fix typo in mat.h's comment (#2537)

* fix typo in mat.h's comment

* inplacc => inplace
tags/20210124
Zhuo Zhang GitHub 5 years ago
parent
commit
a0a8c8e10a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/mat.h

+ 2
- 2
src/mat.h View File

@@ -103,7 +103,7 @@ public:
void fill(T v);
// deep copy
Mat clone(Allocator* allocator = 0) const;
// deep copy from other mat, inplacc
// deep copy from other mat, inplace
void clone_from(const ncnn::Mat& mat, Allocator* allocator = 0);
// reshape vec
Mat reshape(int w, Allocator* allocator = 0) const;
@@ -256,7 +256,7 @@ public:
// substract channel-wise mean values, then multiply by normalize values, pass 0 to skip
void substract_mean_normalize(const float* mean_vals, const float* norm_vals);

// convenient construct from half precisoin floating point data
// convenient construct from half precision floating point data
static Mat from_float16(const unsigned short* data, int size);

// pointer to the data


Loading…
Cancel
Save