code: def testVarLenTensorValueFromDenseRows(self):
      tensor = types.VarLenTensorValue.from_dense_rows(
          [np.array([]), np.array([1]), np.array([1, 2])]
      )
      np.testing.assert_array_equal(np.array([1, 1, 2]), tensor.values)
      np.testing.assert_array_equal(
          np.array([[1, 0], [2, 0], [2, 1]]), tensor.indices
      )
      np.testing.assert_array_equal(
          np.array([3, 2]), tensor.dense_shape
      )
  
file_path: model-analysis/tensorflow_model_analysis/api/types_test.py
imports: from absl.testing import absltest
  import numpy
  from tensorflow_model_analysis.api import types
label_desc: Use image node_id 1 for calling the TypesTest obj's underlying member method code with example usage: obj.testVarLenTensorValueFromDenseRows() without return types