The developer needs to alwasy find the metadata.
But the device, dtype, color is not fixed, always dependens on the input image.
When reading the image from the path, we can attach metadata to that image. For some operations like functions, we only set the determinded attribute values, like minibatch style. For unsured metadata attributes, we can use keyword "None" or "any" or donot set that value. The exact value can be inferenced based on the input.
The developer needs to alwasy find the metadata. But the device, dtype, color is not fixed, always dependens on the input image. When reading the image from the path, we can attach metadata to that image. For some operations like functions, we only set the determinded attribute values, like minibatch style. For unsured metadata attributes, we can use keyword "None" or "any" or donot set that value. The exact value can be inferenced based on the input.