-
Hi! I'm trying to understand if there is a difference between NHWC and NCHW layouts , and ultimately choose one format for my application. Does anyone have expertise in this area, has anyone done benchmarks? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Beta Was this translation helpful? Give feedback.
-
NHWC is the preferred layout of webgpu. And it's well tested and optimized. But It's also easy to switch the layout since you can specify the layout in webgpu's provider option. Per my understanding, the diff of NHWC and NCHW is mainly for the traditional nn models. If your models are not nn models. There should be no big difference. |
Beta Was this translation helpful? Give feedback.
they should only run once, either during initialization (load time) or the first run (warmup time).