class_docstr: Extend Glow for video.
docstr: Converts x from [0, 1] to [-0.5, 0.5].
  
  All inputs are already normalized to be in the range [0, 1] through the
  VideoModalityL1Raw modality.
  
  Args:
    x: 4-D Tensor.
  
  Returns:
    x: Scaled such that x lies in-between -0.5 and 0.5
code: def preprocess(self, x):
      """Converts x from [0, 1] to [-0.5, 0.5].
  
      All inputs are already normalized to be in the range [0, 1] through the
      VideoModalityL1Raw modality.
  
      Args:
        x: 4-D Tensor.
  
      Returns:
        x: Scaled such that x lies in-between -0.5 and 0.5
      """
      return x - 0.5
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  from six.moves import range
  from tensor2tensor.layers import common_layers
  from tensor2tensor.layers import common_video
  from tensor2tensor.layers import modalities
  from tensor2tensor.models.research import glow
  from tensor2tensor.models.research import glow_ops
  from tensor2tensor.utils import contrib
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
  import tensorflow_probability
label_desc: Use image node_id 3 for calling the NextFrameGlow obj's underlying member method code with example usage: obj.preprocess(x) and returns: unknown