Skip to content

Instantly share code, notes, and snippets.

@sachadee
Last active May 7, 2022 06:55
tensor info
#Base Image
print("Image Dtype:", np.array(image).dtype)
print("Image shape:", np.array(image).shape)
print('***********')
#Tensor image
print("Tensor Dtype:", tensor.dtype)
print("Tensor shape:", tensor.shape)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment