code: def test_set_output_fail(self):
      builder = self._build_nn_with_one_ip_layer()
  
      # fails since output_names and output_dims do not have same size
      with self.assertRaises(ValueError):
          builder.set_output(
              output_names=["out_1", "out_2"], output_dims=[(3,)]
          )
  
imports: import numpy
  import pytest
  import unittest
  import coremltools
  from coremltools import ComputeUnit
  from coremltools.converters.mil.mil.types.type_mapping import np_val_to_py_type
  from coremltools.models import MLModel, datatypes
  from coremltools.models.neural_network import NeuralNetworkBuilder
  from coremltools.models.neural_network.quantization_utils import _convert_array_to_nbit_quantized_bytes, quantize_weights
  from coremltools.models.utils import _is_macos, _macos_version
label_desc: Use image node_id 6 for calling the BasicNumericCorrectnessTest obj's underlying member method code with example usage: obj.test_set_output_fail() without return types