@classmethod
def deserialize(cls, serialized):
    """Deserializes the StridedWindowData from the Protobuf format.
        """
    in_shape = (serialized.in_height, serialized.in_width, serialized.
        in_channels)
    window_shape = serialized.window_height, serialized.window_width
    strides = serialized.stride_height, serialized.stride_width
    pad = serialized.pad_height, serialized.pad_width
    out_channels = serialized.out_channels
    return cls(in_shape, window_shape, strides, pad, out_channels)
