Updated to have top level makefile
This commit is contained in:
parent
4f1c46b9ae
commit
ecc9a1e273
3 changed files with 6 additions and 19 deletions
2
src/Tensor.cpp
Normal file → Executable file
2
src/Tensor.cpp
Normal file → Executable 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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue