You should reshape your input data to (100, 3, 394, 394), the Conv2d accepts the input as (N, C, H, W).
In addition, can you print out the array of one instance of input image and label? I suspect something wrong there.
Just use print(inputs, labels).