code: def _add_dense_tensor_to_features(self, name, tensor, features):
      features[name] = self._get_flat_value(tensor)
  
imports: import os
  import hashlib
  import json
  import numpy
  import tensorflow
  from avro.schema import Parse
  from avro.datafile import DataFileWriter
  from avro.io import DatumWriter
  from tests.test_atds_avro.utils.file_writer import FileWriter
  from tests.test_atds_avro.utils.generator.varlen_tensor_generator import VarLenTensorGeneratorBase
  from tensorflow_io.python.experimental.atds.features import DenseFeature, SparseFeature, VarlenFeature
label_desc: Use image node_id 15 for calling the ATDSWriter obj's underlying member method code with example usage: obj._add_dense_tensor_to_features(name, tensor, features) without return types