def add_random_uniform_static(
        self, name, output_name, output_shape, minval=0.0, maxval=1.0, seed=-1
    ):
        """
        Add a random_uniform_static layer to the model that fills the output
        tensors with random values from uniform distribution.
        Refer to the ``RandomUniformStaticLayerParams`` 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.
        output_shape: list of int or tuple of int
            Target shape of the output tensor.
        minval: float, optional
            Lower bound / minimum value of the uniform distribution, default: 0.0.
        maxval: float, optional
            Upper bound / maximum value of the uniform distribution, default: 1.0.
        seed: int, optional
            Used to create a random seed for the distribution. default -1 (random).

        See Also
        --------
        add_random_uniform_like, add_random_uniform_dynamic
        """

        spec_layer = self._add_generic_layer(name, [], [output_name])
        spec_layer_params = spec_layer.randomUniformStatic

        spec_layer_params.outputShape.extend(output_shape)
        spec_layer_params.minVal = minval
        spec_layer_params.maxVal = maxval
        spec_layer_params.seed = seed
        self.rank_dict[output_name] = len(output_shape)
        return spec_layer

        Add a random_uniform_static layer to the model that fills the output
        tensors with random values from uniform distribution.
        Refer to the ``RandomUniformStaticLayerParams`` 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.
        output_shape: list of int or tuple of int
            Target shape of the output tensor.
        minval: float, optional
            Lower bound / minimum value of the uniform distribution, default: 0.0.
        maxval: float, optional
            Upper bound / maximum value of the uniform distribution, default: 1.0.
        seed: int, optional
            Used to create a random seed for the distribution. default -1 (random).

        See Also
        --------
        add_random_uniform_like, add_random_uniform_dynamic
        
coremltools/models/neural_network/builder.py