This will remove transposes that are non needed in the DML kernel. To keep backward compatiblity, the default behavior is to set NHWC when no attribute is set.