def add_range_static(
        self, name, output_name, input_names=None, end=1, start=0, step=1
    ):
        """
        Add a range_static layer that returns a tensor that contains evenly spaced values.
        This layer has no input and three parameters.
        Refer to the ``RangeStaticLayerParams`` message in the specification (NeuralNetwork.proto) for more details.

        Parameters
        ----------
        name: str
            The name of this layer.
        output_name: str
            The output blob name of this layer.
        input_names: list of str
            The input blob names of this layer.
        end: int, optional
            Range parameter: end, default: 1.
        start: int, optional
            Range parameter: start, default: 0.
        step: int, optional
            Range parameter: step size, default: 1.

        See Also
        --------
        add_range_dynamic
        """

        spec_layer = self._add_generic_layer(name, input_names, [output_name])
        spec_layer.rangeStatic.MergeFromString(b"")
        spec_params = spec_layer.rangeStatic

        spec_params.endValue = float(end)
        spec_params.startValue = float(start)
        spec_params.stepSizeValue = float(step)

        self.rank_dict[output_name] = 1
        return spec_layer

        Add a range_static layer that returns a tensor that contains evenly spaced values.
        This layer has no input and three parameters.
        Refer to the ``RangeStaticLayerParams`` message in the specification (NeuralNetwork.proto) for more details.

        Parameters
        ----------
        name: str
            The name of this layer.
        output_name: str
            The output blob name of this layer.
        input_names: list of str
            The input blob names of this layer.
        end: int, optional
            Range parameter: end, default: 1.
        start: int, optional
            Range parameter: start, default: 0.
        step: int, optional
            Range parameter: step size, default: 1.

        See Also
        --------
        add_range_dynamic
        
coremltools/models/neural_network/builder.py