@classmethod
def embedding(cls, inputs, name='embedding', **kwargs):
    """ Create embedding from inputs tensor.

        Parameters
        ----------
        inputs : tf.Tensor
            Input tensor.

        name : str
            Scope name.

        base : callable
            Tensor processing function. Default is :func:`~.layers.conv_block`.

        kwargs : dict
            Parameters for `base` block.

        Returns
        -------
        tf.Tensor
        """
    base_block = kwargs.get('base', cls.block)
    return base_block(inputs, name=name, **kwargs)
