- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This doesn't appear to be implemented, at least I can't see it in Visual C++ under TensorPtr or Tensor. I'm using 2018 update 1 (2018.1.156). Any suggestions or workarounds? Thanks!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Robert,
From the DAAL 2018 update 1 documentation, it seem the method is ready.
Tensors provide interfaces for data management, such as memory allocation and deallocation, and respective methods for memory access and dimension management.
Use the getNumberOfDimensions() and getDimensions() methods to determine the number of dimensions and size of all dimensions, respectively.
Use the shuffleDimensions() method to change logical indexing of tensor dimensions without changing the data layout. This method changes the dimensions order, visible to algorithms.
The usage is like below
virtual services::Status shuffleDimensions(const services::Collection<size_t>& dimsOrder) = 0;
We will check later.
Best Regards,
Ying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Ying
Can you point me to the .h file that defines shuffleDimensions()? While the Developer Guide (2018 update 1) mentions it, I can't find it anywhere else. The Reference Guide appears to be for 2017 update 3. Thanks!
Best regards,
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found it in tensor.h, as virtual services::Status shuffleDimensions(const services::Collection<size_t>& dimsOrder) = 0;
Thank you!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page