class_docstr: Tests for TensorBuffer in eager mode.
code: def test_basic(self):
      size, shape = 2, [2, 3]
  
      my_buffer = tensor_buffer.TensorBuffer(
          size, shape, name="my_buffer"
      )
  
      value1 = [[1, 2, 3], [4, 5, 6]]
      my_buffer.append(value1)
      self.assertAllEqual(my_buffer.values.numpy(), [value1])
  
      value2 = [[4, 5, 6], [7, 8, 9]]
      my_buffer.append(value2)
      self.assertAllEqual(my_buffer.values.numpy(), [value1, value2])
  
imports: import tensorflow
  from tensorflow_privacy.privacy.analysis import tensor_buffer
label_desc: Use image node_id 1 for calling the TensorBufferTest obj's underlying member method code with example usage: obj.test_basic() without return types