code: def testVectorMatrix(self):
      # yaml
      testFile = "foo: [[[1, 2], [3, 4]], [[5, 6], [7, 8]]]"
      writeFile(testFile, "testfile")
  
      p = YamlInput(filename="testfile")()
      os.remove("testfile")
  
      self.assertEqualMatrix(p["foo"][0], [[1, 2], [3, 4]])
      self.assertEqualMatrix(p["foo"][1], [[5, 6], [7, 8]])
  
      # json
      testFile = '{ "foo": [[[1, 2], [3, 4]], [[5, 6], [7, 8]]] }'
      writeFile(testFile, "testfile")
  
      p = YamlInput(filename="testfile", format="json")()
      os.remove("testfile")
  
      self.assertEqualMatrix(p["foo"][0], [[1, 2], [3, 4]])
      self.assertEqualMatrix(p["foo"][1], [[5, 6], [7, 8]])
  
imports: from essentia_test import *
  import os
label_desc: Use image node_id 15 for calling the TestYamlInput obj's underlying member method code with example usage: obj.testVectorMatrix() without return types