code: def _check_tensor_outputs(self, strings_to_check, outputs):
      for tensor_string in strings_to_check:
          tensor = core.nested_lookup(tensor_string, outputs)
          self.assertIsInstance(tensor, (np.ndarray, tf.Tensor))
  
file_path: ddsp/ddsp/processors_test.py
imports: from absl.testing import parameterized
  from ddsp import core
  from ddsp import effects
  from ddsp import processors
  from ddsp import synths
  import numpy
  import tensorflow.compat.v2
label_desc: Use image node_id 2 for calling the ProcessorGroupTest obj's underlying member method code with example usage: obj._check_tensor_outputs(strings_to_check, outputs) without return types