[oneDNN] Remove StopGradient op seen in some LayerNorm patterns
@gbaned Could you find another reviewer, I don't think that I am the correct person to review this.  > @gbaned Could you find another reviewer, I don't think that I am the correct person to review this.

Hi @BrianWieder Sorry for the late reply. Sure thing, Thank you for the update.  Hi @penpornk, Can you please review this PR ? Thank you! Hi @penpornk, Can you please review this PR ? Thank you! Hi @penpornk, Can you please review this PR ? Thank you! Hi @penpornk, Can you please review this PR ? Thank you! Hi @penpornk, Can you please review this PR ? Thank you! @kanvi-nervana can you fix the image link? Hi @kanvi-nervana Can you please check @cantonios's comments and keep us posted ? Thank you! > Update PR description with working image link

@cantonios  Uploaded the image again, please let me know if you still have any issue. Thanks!
Following pattern is seen in 3 models. It looks similar to InstanceNorm pattern but it is actually LayerNorm based on the reduction axis. Under right conditions, this pattern will be fused as LayerNorm to improve performance.

![layernorm-pattern](https://github.com/tensorflow/tensorflow/assets/42224278/6d6cc62a-6ab8-4cef-aa53-c7872ace2b1c)


StopGradient is removed as part of optimize_for_inference since it is not required and is a training op.
"When used in a graph, it outputs the input as is" https://www.tensorflow.org/api_docs/python/tf/stop_gradient