Updated logging definitions to ensure it works using dynamic and static config

This commit is contained in:
Alejandro Saucedo 2020-09-04 07:01:58 +01:00
parent 1286da2179
commit c15a14d2b2
6 changed files with 31 additions and 31 deletions

View file

@ -18,8 +18,10 @@ Tensor::Tensor()
Tensor::Tensor(std::vector<float> data, TensorTypes tensorType)
{
#if DEBUG
SPDLOG_DEBUG(
"Kompute Tensor constructor data: {}, and type: {}", data, tensorType);
#endif
this->mData = data;
this->mShape = { static_cast<uint32_t>(data.size()) };