oneDNN icon indicating copy to clipboard operation
oneDNN copied to clipboard

Unable to fetch format such as nchw or nc or nChw8c from the memory descriptor.

Open pranathibl opened this issue 7 years ago • 3 comments

We are trying to use MKLDNN Version v1.0. We were unable to fetch the format through the memory desc. We need the format information whether it is nc (or) nchw (or) any relevant data type. In the previous versions we used to have that information.

Please provide us and utility or function which we can use to get the relavant information from memory descriptor

pranathibl avatar Sep 18 '19 13:09 pranathibl

Please take a look at #470 for the discussion of the reasons why this functionality has been removed and the ways to work around this.

rsdubtso avatar Sep 18 '19 20:09 rsdubtso

@pranathibl, does the information in #470 help to clarify the changes around memory formats and format tags?

If you believe something is missing please elaborate on how you are using the information about format in your code.

vpirogov avatar Sep 20 '19 21:09 vpirogov

@pranathibl,

We had a discussion about the value of suggested function in the core team and came to the conclusion that memory descriptor comparison is enough for all the practical needs. If you see a use case where this is not enough please let us know.

With I'm closing the issue.

vpirogov avatar Oct 03 '19 14:10 vpirogov