code: def test_initialize_framebuffer_with_wrong_rank(self):
      with self.assertRaisesRegex(
          ValueError, "Expected all inputs to have the same rank"
      ):
          fb.Framebuffer(
              fb.RasterizedAttribute(tf.ones([1, 4, 4, 1])),
              tf.ones([4, 3]),
              tf.ones([3, 4, 4, 5, 5]),
              tf.ones([3, 4, 4, 5, 5]),
          )
  
file_path: graphics/tensorflow_graphics/rendering/tests/framebuffer_test.py
imports: import tensorflow
  from tensorflow_graphics.rendering import framebuffer
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 4 for calling the FramebufferTest obj's underlying member method code with example usage: obj.test_initialize_framebuffer_with_wrong_rank() without return types