code: def testIgnoreTensors(self):
      import yaml
  
      tensor = array(numpy.ones([1, 1, 1, 1]))
      arr = array(numpy.ones([1]))
      p = Pool()
  
      # Single tensor
      p.set("tensor", tensor)
  
      # Vector of tensors
      p.add("tensors", tensor)
      p.add("tensors", tensor)
  
      p.set("array", arr)
  
      YamlOutput(filename="test.yaml")(p)
      actual = yaml.load(getYaml("test.yaml"))
  
      # Assert that the tensors are not written
      self.assertEqual(["metadata", "array"], list(actual.keys()))
  
      # Also assert that the array was correctly written
      self.assertEqual([1], actual["array"])
  
imports: from essentia_test import *
  from essentia._essentia import version
  import os
  import json
label_desc: Use image node_id 19 for calling the TestYamlOutput obj's underlying member method code with example usage: obj.testIgnoreTensors() without return types