Updated to have top level makefile

This commit is contained in:
Alejandro Saucedo 2020-08-24 18:55:55 +01:00
parent 4f1c46b9ae
commit ecc9a1e273
3 changed files with 6 additions and 19 deletions

2
src/Tensor.cpp Normal file → Executable file
View file

@ -18,7 +18,7 @@ Tensor::Tensor(std::vector<uint32_t> data, TensorTypes tensorType)
SPDLOG_DEBUG("Kompute Tensor constructor data: {}, and type: {}", data, tensorType);
this->mData = data;
this->mShape = { data.size() };
this->mShape = { static_cast<uint32_t>(data.size()) };
this->mTensorType = tensorType;
}