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
|
|
@ -42,7 +42,7 @@ class Tensor
|
|||
* @param data Vector of data that will be used by the tensor
|
||||
* @param tensorType Type for the tensor which is of type TensorTypes
|
||||
*/
|
||||
Tensor(std::vector<float> data,
|
||||
Tensor(const std::vector<float>& data,
|
||||
TensorTypes tensorType = TensorTypes::eDevice);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue