The channel dimension format of the input image. If not provided, it will be inferred. r