code: def testInvalidParam(self):
      # VectorRealToTensor only supports single chanel data.
      self.assertConfigureFails(
          VectorRealToTensor(), {"shape": [1, 2, 1, 1]}
      )
  
      # the batch size has  be greater -1 or bigger.
      self.assertConfigureFails(
          VectorRealToTensor(), {"shape": [-2, 1, 1, 1]}
      )
  
      # the rest of dimensions have to be positive.
      self.assertConfigureFails(
          VectorRealToTensor(), {"shape": [1, 0, 1, 1]}
      )
      self.assertConfigureFails(
          VectorRealToTensor(), {"shape": [1, 1, 0, 1]}
      )
      self.assertConfigureFails(
          VectorRealToTensor(), {"shape": [1, 1, 1, 0]}
      )
      self.assertConfigureFails(
          VectorRealToTensor(), {"shape": [1, -1, -1, -1]}
      )
  
file_path: essentia/test/src/unittests/streaming/test_vectorrealtotensor.py
imports: from essentia_test import *
  from essentia.streaming import *
label_desc: Use image node_id 7 for calling the TestVectorRealToTensor obj's underlying member method code with example usage: obj.testInvalidParam() without return types