Added test optensorsync for device and local
This commit is contained in:
parent
e68d09dbdc
commit
eddba0fcf9
5 changed files with 60 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ Tensor::Tensor()
|
|||
this->mTensorType = TensorTypes::eDevice;
|
||||
}
|
||||
|
||||
Tensor::Tensor(std::vector<float> data, TensorTypes tensorType)
|
||||
Tensor::Tensor(const std::vector<float>& data, TensorTypes tensorType)
|
||||
{
|
||||
#if DEBUG
|
||||
SPDLOG_DEBUG(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue