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