Added test optensorsync for device and local

This commit is contained in:
Alejandro Saucedo 2020-09-06 16:15:55 +01:00
parent e68d09dbdc
commit eddba0fcf9
5 changed files with 60 additions and 3 deletions

View file

@ -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);
/**