towhee.models.clip.clip_utilsΒΆ

Functions

base_configs

convert_weights

Convert applicable model parameters to fp16

get_configs

Given a clip model name, return the default configs.

patch_device

patch_float

tokenize

Returns the tokenized representation of given input string(s) Parameters