Skip to content

Commit e5fdb34

Browse files
authored
Add CLIP API doc in keras-io (#2057)
1 parent 3ea5b09 commit e5fdb34

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

scripts/hub_master.py

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,46 @@
427427
},
428428
],
429429
},
430+
{
431+
"path": "clip/",
432+
"title": "CLIP",
433+
"toc": True,
434+
"children": [
435+
{
436+
"path": "clip_tokenizer",
437+
"title": "CLIPTokenizer",
438+
"generate": [
439+
"keras_hub.tokenizers.CLIPTokenizer",
440+
"keras_hub.tokenizers.CLIPTokenizer.from_preset",
441+
],
442+
},
443+
{
444+
"path": "clip_image_converter",
445+
"title": "CLIPImageConverter",
446+
"generate": [
447+
"keras_hub.layers.CLIPImageConverter",
448+
"keras_hub.layers.CLIPImageConverter.from_preset",
449+
],
450+
},
451+
{
452+
"path": "clip_backbone",
453+
"title": "CLIPBackbone model",
454+
"generate": [
455+
"keras_hub.models.CLIPBackbone",
456+
"keras_hub.models.CLIPBackbone.from_preset",
457+
],
458+
},
459+
{
460+
"path": "clip_preprocessor",
461+
"title": "CLIPPreprocessor",
462+
"generate": [
463+
"keras_hub.models.CLIPPreprocessor",
464+
"keras_hub.models.CLIPPreprocessor.from_preset",
465+
"keras_hub.models.CLIPPreprocessor.tokenizer",
466+
],
467+
},
468+
],
469+
},
430470
{
431471
"path": "deberta_v3/",
432472
"title": "DebertaV3",

0 commit comments

Comments
 (0)