<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def normalize(input_tensor, output_tensor):
 """Normalizes the `output_tensor` with respect to `input_tensor` dimensions. This makes regularizer weight factor more or less uniform across various input image dimensions. Args: output_tensor: The tensor to normalize. Returns: The normalized tensor. """

    image_dims = utils.get_img_shape(input_tensor)[1:]
    return output_tensor / np.prod(image_dims)