<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_softmax(self, name, input_name, output_name):
 """ 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 """


        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'')