Your implementation is almost identical to the torchvision implementation 8 bedsides:

branch3 misses paddin=1 for self.conv3x3

you are adding linear layers, which is not part of the inception block, but might fit your use case.