def add_tan(self, name, input_name, output_name):
        """
        Add a tan layer to the model that computes element-wise tangent for the
        input tensor.
        Refer to the ``TanLayerParams`` message in the specification (NeuralNetwork.proto) for more details.

        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_tanh, add_atan, add_atanh
        """

        spec_layer = self._add_generic_layer(name, [input_name], [output_name])
        spec_layer.tan.MergeFromString(b"")
        return spec_layer

        Add a tan layer to the model that computes element-wise tangent for the
        input tensor.
        Refer to the ``TanLayerParams`` message in the specification (NeuralNetwork.proto) for more details.

        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_tanh, add_atan, add_atanh
        
coremltools/models/neural_network/builder.py