bchw
Creates a 4D tensor for image batch in BCHW format
Parameters
batchSize
number of images in batch
channels
number of channels (e.g., 3 for RGB, 1 for grayscale)
height
image height in pixels
width
image width in pixels
Creates a 4D tensor for image batch in BCHW format
number of images in batch
number of channels (e.g., 3 for RGB, 1 for grayscale)
image height in pixels
image width in pixels