code: def create_basic_features(in_frames, out_frames):
      x = np.random.randint(0, 256, size=(8, in_frames, 64, 64, 3))
      y = np.random.randint(0, 256, size=(8, out_frames, 64, 64, 3))
      features = {
          "inputs": tf.constant(x, dtype=tf.int32),
          "targets": tf.constant(y, dtype=tf.int32),
      }
      return features
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import numpy
  from tensor2tensor.data_generators import video_generated
  from tensor2tensor.layers import modalities
  from tensor2tensor.utils import registry
  import tensorflow.compat.v1
  from tensorflow.compat.v1 import estimator
label_desc: Use image node_id 4 for calling a global function with example usage: create_basic_features(in_frames, out_frames) and returns: features