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, 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 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