You could create a gaussian blur kernel in the appropriate shape and use the functional API via F.conv3d to apply it to the input, as I don’t know, if transformations support gaussian blurring for 3d data for a specific dimension only.