code: def setUp(self):
      super(RasterizeTest, self).setUp()
  
      self.cube_vertex_positions = tf.constant(
          [
              [
                  [-1, -1, 1],
                  [-1, -1, -1],
                  [-1, 1, -1],
                  [-1, 1, 1],
                  [1, -1, 1],
                  [1, -1, -1],
                  [1, 1, -1],
                  [1, 1, 1],
              ]
          ],
          dtype=tf.float32,
      )
      self.cube_triangles = tf.constant(
          [
              [0, 1, 2],
              [2, 3, 0],
              [3, 2, 6],
              [6, 7, 3],
              [7, 6, 5],
              [5, 4, 7],
              [4, 5, 1],
              [1, 0, 4],
              [5, 6, 2],
              [2, 1, 5],
              [7, 4, 0],
              [0, 3, 7],
          ],
          dtype=tf.int32,
      )
  
      self.image_width = 640
      self.image_height = 480
      perspective = rasterization_test_utils.make_perspective_matrix(
          self.image_width, self.image_height
      )
      projection = tf.matmul(
          perspective,
          rasterization_test_utils.make_look_at_matrix(
              camera_origin=(2.0, 3.0, 6.0)
          ),
      )
      # Add batch dimension.
      self.projection = tf.expand_dims(projection, axis=0)
  
file_path: graphics/tensorflow_graphics/rendering/tests/interpolate_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  from six.moves import range
  import tensorflow
  from tensorflow_graphics.rendering import interpolate
  from tensorflow_graphics.rendering import rasterization_backend
  from tensorflow_graphics.rendering.tests import rasterization_test_utils
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 1 for calling the RasterizeTest obj's underlying member method code with example usage: obj.setUp() without return types