def create(alphabet_size: int, output_dim: int, pretrained: bool=False, frozen: bool=False, source: TextData=None):
    """ Vel factory function """
    def instantiate(**_):
        return EmbeddingInput(alphabet_size, output_dim, pretrained=pretrained, frozen=frozen, source=source)

    return ModelFactory.generic(instantiate)
def create ( alphabet_size : int , output_dim : int , pretrained : bool = False , frozen : bool = False , source : TextData = None ) : def instantiate ( ** _ ) : return EmbeddingInput ( alphabet_size , output_dim , pretrained = pretrained , frozen = frozen , source = source ) return ModelFactory . generic ( instantiate )
Vel factory function