community icon indicating copy to clipboard operation
community copied to clipboard

How to enable oneddn in tensorflow for eltwise op

Open akote123 opened this issue 1 year ago • 0 comments

@penpornk , I wanted to understand the latest tensorflow supports eltwise onednn flow and also is there any document which I can refer for the onednn ops which are supported in latest tensorflow. Actually I wanted to understand the onednn flow for elewise op, so I tried profile the code for

import tensorflow as tf

x= tf.constant([-10, -5, 0.0, 5, 10], dtype = tf.float32)
y=tf.nn.relu(x)
print(y)

But this will not create onednn flow.

How we can generate onednn flow for eltwise ops through tensorflow framework?

Thanks

akote123 avatar Jul 06 '23 05:07 akote123