Skip to content
Snippets Groups Projects
Commit eebe88bd authored by laurent soulier's avatar laurent soulier
Browse files

[FUN][IMPR][MAJ] "view" constructor

also fixes #32
parent d8913efd
No related branches found
No related tags found
2 merge requests!41Support for any backend storage,!13Refactoring Tensor
Pipeline #33046 passed
...@@ -237,7 +237,7 @@ Tensor::Tensor( ...@@ -237,7 +237,7 @@ Tensor::Tensor(
&& "Requested active area is not available inside source Tensor"); && "Requested active area is not available inside source Tensor");
computeSize(); computeSize();
// now sharing data // now sharing data
// mimpl = otherTensor.getImpl(); mImpl = otherTensor.mImpl;
} }
void Tensor::resize(const std::vector<DimSize_t> &dims) void Tensor::resize(const std::vector<DimSize_t> &dims)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment