code: def test_nn_set_cce_invalid(self):
      nn_builder = self.create_base_builder()
      nn_builder.add_softmax(
          name="softmax",
          input_name="output",
          output_name="softmax_output",
      )
  
      # fails since CCE input must be softmax output
      with self.assertRaises(ValueError):
          nn_builder.set_categorical_cross_entropy_loss(
              name="cross_entropy", input="output"
          )
  
imports: import os, shutil
  import numpy
  import coremltools.models.datatypes
  import unittest
  import pytest
  import tempfile
  from coremltools.models.utils import save_spec
  from coremltools.models import MLModel
  from coremltools.models.neural_network import NeuralNetworkBuilder, AdamParams, SgdParams
  from coremltools.models.pipeline import PipelineRegressor, PipelineClassifier
label_desc: Use image node_id 9 for calling the MLModelUpdatableTest obj's underlying member method code with example usage: obj.test_nn_set_cce_invalid() without return types