code: def add_softmax(self, name, input_name, output_name):
          
  
          spec = self.spec
          nn_spec = self.nn_spec
  
          # Add a new layer
          spec_layer = nn_spec.layers.add()
          spec_layer.name = name
          spec_layer.input.append(input_name)
          spec_layer.output.append(output_name)
          spec_layer_params = spec_layer.softmax.MergeFromString(b'')
docs: Add a softmax layer to the model.
  
          Parameters
          ----------
          name: str
              The name of this layer.
          input_name: str
              The input blob name of this layer.
          output_name: str
              The output blob name of this layer.
  
          See Also
          --------
          add_activation, add_inner_product, add_convolution