change int numel_ to size_t numel

cblas_new
fengjiayi 8 years ago
parent 1f97388a34
commit 8594d5c314

@ -165,7 +165,7 @@ class Tensor {
std::shared_ptr<Placeholder> holder_; // holds the memory block if allocated.
DDim dims_;
int numel_; // cache of `product(dims_)`
size_t numel_; // cache of `product(dims_)`
size_t offset_; // marks the begin of tensor data area.
};

Loading…
Cancel
Save