keras-hub-nightly 0.16.1.dev202409250340__tar.gz → 0.16.1.dev202409270338__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/PKG-INFO +30 -27
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/README.md +29 -26
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/api/__init__.py +16 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/api/bounding_box/__init__.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/api/layers/__init__.py +3 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/api/metrics/__init__.py +11 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/api/models/__init__.py +16 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/api/samplers/__init__.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/api/tokenizers/__init__.py +1 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/api/utils/__init__.py +9 -0
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/api_export.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/bounding_box/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/bounding_box/converters.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/bounding_box/formats.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/bounding_box/iou.py +1 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/bounding_box/to_dense.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/bounding_box/to_ragged.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/bounding_box/utils.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/bounding_box/validate_format.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/layers/__init__.py +0 -0
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/layers/modeling/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/modeling/alibi_bias.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/modeling/cached_multi_head_attention.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/modeling/f_net_encoder.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/modeling/masked_lm_head.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/modeling/position_embedding.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/modeling/reversible_embedding.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/modeling/rotary_embedding.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/modeling/sine_position_encoding.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/modeling/token_and_position_embedding.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/modeling/transformer_decoder.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/modeling/transformer_encoder.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/modeling/transformer_layer_utils.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/layers/preprocessing/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/preprocessing/audio_converter.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/preprocessing/image_converter.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/preprocessing/masked_lm_mask_generator.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/preprocessing/multi_segment_packer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/preprocessing/preprocessing_layer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/preprocessing/random_deletion.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/preprocessing/random_swap.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/preprocessing/resizing_image_converter.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/layers/preprocessing/start_end_packer.py +0 -15
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/metrics/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/metrics/bleu.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/metrics/edit_distance.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/metrics/perplexity.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/metrics/rouge_base.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/metrics/rouge_l.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/metrics/rouge_n.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/__init__.py +0 -0
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/albert/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/albert/albert_backbone.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/albert/albert_masked_lm.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/albert/albert_masked_lm_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/albert/albert_presets.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/albert/albert_text_classifier.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/albert/albert_text_classifier_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/albert/albert_tokenizer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/backbone.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/bart/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bart/bart_backbone.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bart/bart_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bart/bart_seq_2_seq_lm.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bart/bart_seq_2_seq_lm_preprocessor.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bart/bart_tokenizer.py +0 -15
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/bert/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bert/bert_backbone.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bert/bert_masked_lm.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bert/bert_masked_lm_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bert/bert_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bert/bert_text_classifier.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bert/bert_text_classifier_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bert/bert_tokenizer.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/bloom/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bloom/bloom_attention.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bloom/bloom_backbone.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bloom/bloom_causal_lm.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bloom/bloom_causal_lm_preprocessor.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bloom/bloom_decoder.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bloom/bloom_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/bloom/bloom_tokenizer.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/causal_lm.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/causal_lm_preprocessor.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/clip/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/stable_diffusion_v3 → keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/clip}/clip_encoder_block.py +8 -15
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/clip/clip_preprocessor.py +134 -0
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/clip/clip_text_encoder.py +139 -0
- {keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/stable_diffusion_v3 → keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/clip}/clip_tokenizer.py +65 -41
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/csp_darknet/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/csp_darknet/csp_darknet_backbone.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/csp_darknet/csp_darknet_image_classifier.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/deberta_v3/__init__.py +7 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/deberta_v3/deberta_v3_backbone.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/deberta_v3/deberta_v3_masked_lm.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/deberta_v3/deberta_v3_masked_lm_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/deberta_v3/deberta_v3_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/deberta_v3/deberta_v3_text_classifier.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/deberta_v3/deberta_v3_text_classifier_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/deberta_v3/deberta_v3_tokenizer.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/deberta_v3/disentangled_attention_encoder.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/deberta_v3/disentangled_self_attention.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/deberta_v3/relative_embedding.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/densenet/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/densenet/densenet_backbone.py +11 -21
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/densenet/densenet_image_classifier.py +27 -17
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/resnet/resnet_image_classifier_preprocessor.py → keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/densenet/densenet_image_classifier_preprocessor.py +8 -9
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/resnet/resnet_image_converter.py → keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/densenet/densenet_image_converter.py +4 -4
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/densenet/densenet_presets.py +56 -0
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/distil_bert/__init__.py +9 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/distil_bert/distil_bert_backbone.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/distil_bert/distil_bert_masked_lm.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/distil_bert/distil_bert_masked_lm_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/distil_bert/distil_bert_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/distil_bert/distil_bert_text_classifier.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/distil_bert/distil_bert_text_classifier_preprocessor.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/distil_bert/distil_bert_tokenizer.py +0 -15
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/efficientnet/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/efficientnet/efficientnet_backbone.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/efficientnet/fusedmbconv.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/efficientnet/mbconv.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/electra/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/electra/electra_backbone.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/electra/electra_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/electra/electra_tokenizer.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/f_net/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/f_net/f_net_backbone.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/f_net/f_net_masked_lm.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/f_net/f_net_masked_lm_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/f_net/f_net_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/f_net/f_net_text_classifier.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/f_net/f_net_text_classifier_preprocessor.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/f_net/f_net_tokenizer.py +0 -15
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/falcon/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/falcon/falcon_attention.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/falcon/falcon_backbone.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/falcon/falcon_causal_lm.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/falcon/falcon_causal_lm_preprocessor.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/falcon/falcon_presets.py +17 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/falcon/falcon_tokenizer.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/falcon/falcon_transformer_decoder.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/feature_pyramid_backbone.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/gemma/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gemma/gemma_attention.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gemma/gemma_backbone.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gemma/gemma_causal_lm.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gemma/gemma_causal_lm_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gemma/gemma_decoder_block.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gemma/gemma_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gemma/gemma_tokenizer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gemma/rms_normalization.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/gpt2/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gpt2/gpt2_backbone.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gpt2/gpt2_causal_lm.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gpt2/gpt2_causal_lm_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gpt2/gpt2_preprocessor.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gpt2/gpt2_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gpt2/gpt2_tokenizer.py +0 -15
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/gpt_neo_x/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gpt_neo_x/gpt_neo_x_attention.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gpt_neo_x/gpt_neo_x_backbone.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gpt_neo_x/gpt_neo_x_causal_lm.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gpt_neo_x/gpt_neo_x_causal_lm_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gpt_neo_x/gpt_neo_x_decoder.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/gpt_neo_x/gpt_neo_x_tokenizer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/image_classifier.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/image_classifier_preprocessor.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/image_segmenter.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/llama/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/llama/llama_attention.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/llama/llama_backbone.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/llama/llama_causal_lm.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/llama/llama_causal_lm_preprocessor.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/llama/llama_decoder.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/llama/llama_layernorm.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/llama/llama_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/llama/llama_tokenizer.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/llama3/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/llama3/llama3_backbone.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/llama3/llama3_causal_lm.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/llama3/llama3_causal_lm_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/llama3/llama3_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/llama3/llama3_tokenizer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/masked_lm.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/masked_lm_preprocessor.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/mistral/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/mistral/mistral_attention.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/mistral/mistral_backbone.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/mistral/mistral_causal_lm.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/mistral/mistral_causal_lm_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/mistral/mistral_layer_norm.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/mistral/mistral_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/mistral/mistral_tokenizer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/mistral/mistral_transformer_decoder.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/mix_transformer/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/mix_transformer/mix_transformer_backbone.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/mix_transformer/mix_transformer_classifier.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/mix_transformer/mix_transformer_layers.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/mobilenet/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/mobilenet/mobilenet_backbone.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/mobilenet/mobilenet_image_classifier.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/opt/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/opt/opt_backbone.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/opt/opt_causal_lm.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/opt/opt_causal_lm_preprocessor.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/opt/opt_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/opt/opt_tokenizer.py +0 -15
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/pali_gemma/__init__.py +7 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/pali_gemma/pali_gemma_backbone.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/pali_gemma/pali_gemma_causal_lm.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/pali_gemma/pali_gemma_causal_lm_preprocessor.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/pali_gemma/pali_gemma_decoder_block.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/pali_gemma/pali_gemma_image_converter.py +12 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/pali_gemma/pali_gemma_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/pali_gemma/pali_gemma_tokenizer.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/pali_gemma/pali_gemma_vit.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/phi3/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/phi3/phi3_attention.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/phi3/phi3_backbone.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/phi3/phi3_causal_lm.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/phi3/phi3_causal_lm_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/phi3/phi3_decoder.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/phi3/phi3_layernorm.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/phi3/phi3_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/phi3/phi3_rotary_embedding.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/phi3/phi3_tokenizer.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/preprocessor.py +51 -32
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/resnet/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/resnet/resnet_backbone.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/resnet/resnet_image_classifier.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/resnet/resnet_image_classifier_preprocessor.py +14 -0
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/resnet/resnet_image_converter.py +10 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/resnet/resnet_presets.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/retinanet/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/retinanet/anchor_generator.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/retinanet/box_matcher.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/retinanet/non_max_supression.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/roberta/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/roberta/roberta_backbone.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/roberta/roberta_masked_lm.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/roberta/roberta_masked_lm_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/roberta/roberta_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/roberta/roberta_text_classifier.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/roberta/roberta_text_classifier_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/roberta/roberta_tokenizer.py +0 -15
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/sam/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/sam/sam_backbone.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/sam/sam_image_segmenter.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/sam/sam_layers.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/sam/sam_mask_decoder.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/sam/sam_prompt_encoder.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/sam/sam_transformer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/seq_2_seq_lm.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/seq_2_seq_lm_preprocessor.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/stable_diffusion_3/__init__.py +9 -0
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/stable_diffusion_3/flow_match_euler_discrete_scheduler.py +80 -0
- {keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/stable_diffusion_v3 → keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/stable_diffusion_3}/mmdit.py +351 -39
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/stable_diffusion_3/stable_diffusion_3_backbone.py +631 -0
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/falcon/falcon_presets.py → keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/stable_diffusion_3/stable_diffusion_3_presets.py +11 -10
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/stable_diffusion_3/stable_diffusion_3_text_to_image.py +138 -0
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/stable_diffusion_3/stable_diffusion_3_text_to_image_preprocessor.py +83 -0
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/stable_diffusion_v3/t5_xxl_text_encoder.py → keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/stable_diffusion_3/t5_encoder.py +7 -20
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/stable_diffusion_3/vae_image_decoder.py +320 -0
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/t5/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/t5/t5_backbone.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/t5/t5_layer_norm.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/t5/t5_multi_head_attention.py +0 -14
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/stable_diffusion_v3/t5_xxl_preprocessor.py → keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/t5/t5_preprocessor.py +12 -16
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/t5/t5_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/t5/t5_tokenizer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/t5/t5_transformer_layer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/task.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/text_classifier.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/text_classifier_preprocessor.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/text_to_image.py +282 -0
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/vgg/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/vgg/vgg_backbone.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/vgg/vgg_image_classifier.py +0 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/vit_det/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/vit_det/vit_det_backbone.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/vit_det/vit_layers.py +0 -15
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/whisper/__init__.py +5 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/whisper/whisper_audio_converter.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/whisper/whisper_backbone.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/whisper/whisper_cached_multi_head_attention.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/whisper/whisper_decoder.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/whisper/whisper_encoder.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/whisper/whisper_presets.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/whisper/whisper_tokenizer.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/xlm_roberta/__init__.py +9 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/xlm_roberta/xlm_roberta_backbone.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/xlm_roberta/xlm_roberta_masked_lm.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/xlm_roberta/xlm_roberta_masked_lm_preprocessor.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/xlm_roberta/xlm_roberta_presets.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/xlm_roberta/xlm_roberta_text_classifier.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/xlm_roberta/xlm_roberta_text_classifier_preprocessor.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/xlm_roberta/xlm_roberta_tokenizer.py +0 -15
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/models/xlnet/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/xlnet/relative_attention.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/xlnet/xlnet_backbone.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/xlnet/xlnet_content_and_query_embedding.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/models/xlnet/xlnet_encoder.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/samplers/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/samplers/beam_sampler.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/samplers/contrastive_sampler.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/samplers/greedy_sampler.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/samplers/random_sampler.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/samplers/sampler.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/samplers/serialization.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/samplers/top_k_sampler.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/samplers/top_p_sampler.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/tests/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/tests/test_case.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/tokenizers/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/tokenizers/byte_pair_tokenizer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/tokenizers/byte_tokenizer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/tokenizers/sentence_piece_tokenizer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/tokenizers/sentence_piece_tokenizer_trainer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/tokenizers/tokenizer.py +23 -27
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/tokenizers/unicode_codepoint_tokenizer.py +0 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/tokenizers/word_piece_tokenizer.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/tokenizers/word_piece_tokenizer_trainer.py +0 -15
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/utils/__init__.py +0 -0
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/utils/imagenet/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/imagenet/imagenet_utils.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/keras_utils.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/pipeline_model.py +0 -14
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/preset_utils.py +32 -76
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/utils/python_utils.py +8 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/tensor_utils.py +0 -14
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/utils/timm/__init__.py +0 -0
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/utils/timm/convert_densenet.py +107 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/timm/convert_resnet.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/timm/preset_loader.py +3 -13
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/utils/transformers/__init__.py +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/transformers/convert_albert.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/transformers/convert_bart.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/transformers/convert_bert.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/transformers/convert_distilbert.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/transformers/convert_gemma.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/transformers/convert_gpt2.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/transformers/convert_llama3.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/transformers/convert_mistral.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/transformers/convert_pali_gemma.py +0 -13
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/transformers/preset_loader.py +1 -15
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub/src/utils/transformers/safetensor_utils.py +9 -15
- keras_hub_nightly-0.16.1.dev202409270338/keras_hub/src/version_utils.py +9 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub_nightly.egg-info/PKG-INFO +30 -27
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub_nightly.egg-info/SOURCES.txt +20 -11
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/setup.py +1 -1
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/api/__init__.py +0 -29
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/api/metrics/__init__.py +0 -24
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/api/utils/__init__.py +0 -22
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/bounding_box/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/layers/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/layers/modeling/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/layers/preprocessing/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/metrics/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/albert/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/bart/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/bert/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/bloom/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/csp_darknet/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/deberta_v3/__init__.py +0 -21
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/densenet/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/distil_bert/__init__.py +0 -23
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/efficientnet/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/electra/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/f_net/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/falcon/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/gemma/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/gpt2/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/gpt_neo_x/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/llama/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/llama3/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/mistral/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/mix_transformer/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/mobilenet/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/opt/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/pali_gemma/__init__.py +0 -20
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/pali_gemma/pali_gemma_image_converter.py +0 -25
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/phi3/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/resnet/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/retinanet/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/roberta/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/sam/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/stable_diffusion_v3/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/stable_diffusion_v3/clip_preprocessor.py +0 -93
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/stable_diffusion_v3/clip_text_encoder.py +0 -149
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/stable_diffusion_v3/mmdit_block.py +0 -317
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/stable_diffusion_v3/vae_attention.py +0 -126
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/stable_diffusion_v3/vae_image_decoder.py +0 -186
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/t5/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/vgg/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/vit_det/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/whisper/__init__.py +0 -19
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/xlm_roberta/__init__.py +0 -23
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/models/xlnet/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/samplers/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/tests/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/tokenizers/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/utils/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/utils/imagenet/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/utils/python_utils.py +0 -21
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/utils/timm/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/utils/transformers/__init__.py +0 -13
- keras_hub_nightly-0.16.1.dev202409250340/keras_hub/src/version_utils.py +0 -23
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub_nightly.egg-info/dependency_links.txt +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub_nightly.egg-info/requires.txt +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/keras_hub_nightly.egg-info/top_level.txt +0 -0
- {keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/setup.cfg +0 -0
{keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: keras-hub-nightly
|
3
|
-
Version: 0.16.1.
|
3
|
+
Version: 0.16.1.dev202409270338
|
4
4
|
Summary: Industry-strength Natural Language Processing extensions for Keras.
|
5
5
|
Home-page: https://github.com/keras-team/keras-hub
|
6
6
|
Author: Keras team
|
@@ -31,7 +31,7 @@ Provides-Extra: extras
|
|
31
31
|
Requires-Dist: rouge-score; extra == "extras"
|
32
32
|
Requires-Dist: sentencepiece; extra == "extras"
|
33
33
|
|
34
|
-
#
|
34
|
+
# KerasHub: Multi-framework Models
|
35
35
|
[](https://github.com/keras-team/keras-hub/actions?query=workflow%3ATests+branch%3Amaster)
|
36
36
|

|
37
37
|
[](https://github.com/keras-team/keras-hub/issues)
|
@@ -43,16 +43,17 @@ Requires-Dist: sentencepiece; extra == "extras"
|
|
43
43
|
> We have renamed the repo to KerasHub in preparation for the release, but have not yet
|
44
44
|
> released the new package. Follow the announcement for news.
|
45
45
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
and
|
46
|
+
KerasHub is a library that supports natural language processing, computer
|
47
|
+
vision, audio, and multimodal backbones and task models, working natively with
|
48
|
+
TensorFlow, JAX, or PyTorch. KerasHub provides a repository of pre-trained
|
49
|
+
models and a collection of lower-level building blocks for these tasks. Built
|
50
|
+
on Keras 3, models can be trained and serialized in any framework and re-used
|
51
|
+
in another without costly migrations.
|
51
52
|
|
52
53
|
This library is an extension of the core Keras API; all high-level modules are
|
53
54
|
Layers and Models that receive that same level of polish as core Keras.
|
54
55
|
If you are familiar with Keras, congratulations! You already understand most of
|
55
|
-
|
56
|
+
KerasHub.
|
56
57
|
|
57
58
|
All models support JAX, TensorFlow, and PyTorch from a single model
|
58
59
|
definition and can be fine-tuned on GPUs and TPUs out of the box. Models can
|
@@ -88,7 +89,7 @@ Fine-tune BERT on IMDb movie reviews:
|
|
88
89
|
import os
|
89
90
|
os.environ["KERAS_BACKEND"] = "jax" # Or "tensorflow" or "torch"!
|
90
91
|
|
91
|
-
import
|
92
|
+
import keras_hub
|
92
93
|
import tensorflow_datasets as tfds
|
93
94
|
|
94
95
|
imdb_train, imdb_test = tfds.load(
|
@@ -98,8 +99,8 @@ imdb_train, imdb_test = tfds.load(
|
|
98
99
|
batch_size=16,
|
99
100
|
)
|
100
101
|
# Load a BERT model.
|
101
|
-
classifier =
|
102
|
-
"bert_base_en",
|
102
|
+
classifier = keras_hub.models.Classifier.from_preset(
|
103
|
+
"bert_base_en",
|
103
104
|
num_classes=2,
|
104
105
|
activation="softmax",
|
105
106
|
)
|
@@ -115,20 +116,20 @@ For more in depth guides and examples, visit
|
|
115
116
|
|
116
117
|
## Installation
|
117
118
|
|
118
|
-
To install the latest
|
119
|
+
To install the latest KerasHub release with Keras 3, simply run:
|
119
120
|
|
120
121
|
```
|
121
|
-
pip install --upgrade keras-
|
122
|
+
pip install --upgrade keras-hub
|
122
123
|
```
|
123
124
|
|
124
|
-
To install the latest nightly changes for both
|
125
|
+
To install the latest nightly changes for both KerasHub and Keras, you can use
|
125
126
|
our nightly package.
|
126
127
|
|
127
128
|
```
|
128
|
-
pip install --upgrade keras-
|
129
|
+
pip install --upgrade keras-hub-nightly
|
129
130
|
```
|
130
131
|
|
131
|
-
Note that currently, installing
|
132
|
+
Note that currently, installing KerasHub will always pull in TensorFlow for use
|
132
133
|
of the `tf.data` API for preprocessing. Even when pre-processing with `tf.data`,
|
133
134
|
training can still happen on any backend.
|
134
135
|
|
@@ -136,13 +137,13 @@ Read [Getting started with Keras](https://keras.io/getting_started/) for more
|
|
136
137
|
information on installing Keras 3 and compatibility with different frameworks.
|
137
138
|
|
138
139
|
> [!IMPORTANT]
|
139
|
-
> We recommend using
|
140
|
+
> We recommend using KerasHub with TensorFlow 2.16 or later, as TF 2.16 packages
|
140
141
|
> Keras 3 by default.
|
141
142
|
|
142
143
|
## Configuring your backend
|
143
144
|
|
144
145
|
If you have Keras 3 installed in your environment (see installation above),
|
145
|
-
you can use
|
146
|
+
you can use KerasHub with any of JAX, TensorFlow and PyTorch. To do so, set the
|
146
147
|
`KERAS_BACKEND` environment variable. For example:
|
147
148
|
|
148
149
|
```shell
|
@@ -155,7 +156,7 @@ Or in Colab, with:
|
|
155
156
|
import os
|
156
157
|
os.environ["KERAS_BACKEND"] = "jax"
|
157
158
|
|
158
|
-
import
|
159
|
+
import keras_hub
|
159
160
|
```
|
160
161
|
|
161
162
|
> [!IMPORTANT]
|
@@ -171,24 +172,26 @@ may break compatibility at any time and APIs should not be consider stable.
|
|
171
172
|
|
172
173
|
## Disclaimer
|
173
174
|
|
174
|
-
|
175
|
+
KerasHub provides access to pre-trained models via the `keras_hub.models` API.
|
175
176
|
These pre-trained models are provided on an "as is" basis, without warranties
|
176
177
|
or conditions of any kind. The following underlying models are provided by third
|
177
178
|
parties, and subject to separate licenses:
|
178
179
|
BART, BLOOM, DeBERTa, DistilBERT, GPT-2, Llama, Mistral, OPT, RoBERTa, Whisper,
|
179
180
|
and XLM-RoBERTa.
|
180
181
|
|
181
|
-
## Citing
|
182
|
+
## Citing KerasHub
|
182
183
|
|
183
|
-
If
|
184
|
+
If KerasHub helps your research, we appreciate your citations.
|
184
185
|
Here is the BibTeX entry:
|
185
186
|
|
186
187
|
```bibtex
|
187
|
-
@misc{
|
188
|
-
title={
|
189
|
-
author={Watson, Matthew, and
|
190
|
-
|
191
|
-
|
188
|
+
@misc{kerashub2024,
|
189
|
+
title={KerasHub},
|
190
|
+
author={Watson, Matthew, and Chollet, Fran\c{c}ois and Sreepathihalli,
|
191
|
+
Divyashree, and Saadat, Samaneh and Sampath, Ramesh, and Rasskin, Gabriel and
|
192
|
+
and Zhu, Scott and Singh, Varun and Wood, Luke and Tan, Zhenyu and Stenbit,
|
193
|
+
Ian and Qian, Chen, and Bischof, Jonathan and others},
|
194
|
+
year={2024},
|
192
195
|
howpublished={\url{https://github.com/keras-team/keras-hub}},
|
193
196
|
}
|
194
197
|
```
|
{keras_hub_nightly-0.16.1.dev202409250340 → keras_hub_nightly-0.16.1.dev202409270338}/README.md
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# KerasHub: Multi-framework Models
|
2
2
|
[](https://github.com/keras-team/keras-hub/actions?query=workflow%3ATests+branch%3Amaster)
|
3
3
|

|
4
4
|
[](https://github.com/keras-team/keras-hub/issues)
|
@@ -10,16 +10,17 @@
|
|
10
10
|
> We have renamed the repo to KerasHub in preparation for the release, but have not yet
|
11
11
|
> released the new package. Follow the announcement for news.
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
and
|
13
|
+
KerasHub is a library that supports natural language processing, computer
|
14
|
+
vision, audio, and multimodal backbones and task models, working natively with
|
15
|
+
TensorFlow, JAX, or PyTorch. KerasHub provides a repository of pre-trained
|
16
|
+
models and a collection of lower-level building blocks for these tasks. Built
|
17
|
+
on Keras 3, models can be trained and serialized in any framework and re-used
|
18
|
+
in another without costly migrations.
|
18
19
|
|
19
20
|
This library is an extension of the core Keras API; all high-level modules are
|
20
21
|
Layers and Models that receive that same level of polish as core Keras.
|
21
22
|
If you are familiar with Keras, congratulations! You already understand most of
|
22
|
-
|
23
|
+
KerasHub.
|
23
24
|
|
24
25
|
All models support JAX, TensorFlow, and PyTorch from a single model
|
25
26
|
definition and can be fine-tuned on GPUs and TPUs out of the box. Models can
|
@@ -55,7 +56,7 @@ Fine-tune BERT on IMDb movie reviews:
|
|
55
56
|
import os
|
56
57
|
os.environ["KERAS_BACKEND"] = "jax" # Or "tensorflow" or "torch"!
|
57
58
|
|
58
|
-
import
|
59
|
+
import keras_hub
|
59
60
|
import tensorflow_datasets as tfds
|
60
61
|
|
61
62
|
imdb_train, imdb_test = tfds.load(
|
@@ -65,8 +66,8 @@ imdb_train, imdb_test = tfds.load(
|
|
65
66
|
batch_size=16,
|
66
67
|
)
|
67
68
|
# Load a BERT model.
|
68
|
-
classifier =
|
69
|
-
"bert_base_en",
|
69
|
+
classifier = keras_hub.models.Classifier.from_preset(
|
70
|
+
"bert_base_en",
|
70
71
|
num_classes=2,
|
71
72
|
activation="softmax",
|
72
73
|
)
|
@@ -82,20 +83,20 @@ For more in depth guides and examples, visit
|
|
82
83
|
|
83
84
|
## Installation
|
84
85
|
|
85
|
-
To install the latest
|
86
|
+
To install the latest KerasHub release with Keras 3, simply run:
|
86
87
|
|
87
88
|
```
|
88
|
-
pip install --upgrade keras-
|
89
|
+
pip install --upgrade keras-hub
|
89
90
|
```
|
90
91
|
|
91
|
-
To install the latest nightly changes for both
|
92
|
+
To install the latest nightly changes for both KerasHub and Keras, you can use
|
92
93
|
our nightly package.
|
93
94
|
|
94
95
|
```
|
95
|
-
pip install --upgrade keras-
|
96
|
+
pip install --upgrade keras-hub-nightly
|
96
97
|
```
|
97
98
|
|
98
|
-
Note that currently, installing
|
99
|
+
Note that currently, installing KerasHub will always pull in TensorFlow for use
|
99
100
|
of the `tf.data` API for preprocessing. Even when pre-processing with `tf.data`,
|
100
101
|
training can still happen on any backend.
|
101
102
|
|
@@ -103,13 +104,13 @@ Read [Getting started with Keras](https://keras.io/getting_started/) for more
|
|
103
104
|
information on installing Keras 3 and compatibility with different frameworks.
|
104
105
|
|
105
106
|
> [!IMPORTANT]
|
106
|
-
> We recommend using
|
107
|
+
> We recommend using KerasHub with TensorFlow 2.16 or later, as TF 2.16 packages
|
107
108
|
> Keras 3 by default.
|
108
109
|
|
109
110
|
## Configuring your backend
|
110
111
|
|
111
112
|
If you have Keras 3 installed in your environment (see installation above),
|
112
|
-
you can use
|
113
|
+
you can use KerasHub with any of JAX, TensorFlow and PyTorch. To do so, set the
|
113
114
|
`KERAS_BACKEND` environment variable. For example:
|
114
115
|
|
115
116
|
```shell
|
@@ -122,7 +123,7 @@ Or in Colab, with:
|
|
122
123
|
import os
|
123
124
|
os.environ["KERAS_BACKEND"] = "jax"
|
124
125
|
|
125
|
-
import
|
126
|
+
import keras_hub
|
126
127
|
```
|
127
128
|
|
128
129
|
> [!IMPORTANT]
|
@@ -138,24 +139,26 @@ may break compatibility at any time and APIs should not be consider stable.
|
|
138
139
|
|
139
140
|
## Disclaimer
|
140
141
|
|
141
|
-
|
142
|
+
KerasHub provides access to pre-trained models via the `keras_hub.models` API.
|
142
143
|
These pre-trained models are provided on an "as is" basis, without warranties
|
143
144
|
or conditions of any kind. The following underlying models are provided by third
|
144
145
|
parties, and subject to separate licenses:
|
145
146
|
BART, BLOOM, DeBERTa, DistilBERT, GPT-2, Llama, Mistral, OPT, RoBERTa, Whisper,
|
146
147
|
and XLM-RoBERTa.
|
147
148
|
|
148
|
-
## Citing
|
149
|
+
## Citing KerasHub
|
149
150
|
|
150
|
-
If
|
151
|
+
If KerasHub helps your research, we appreciate your citations.
|
151
152
|
Here is the BibTeX entry:
|
152
153
|
|
153
154
|
```bibtex
|
154
|
-
@misc{
|
155
|
-
title={
|
156
|
-
author={Watson, Matthew, and
|
157
|
-
|
158
|
-
|
155
|
+
@misc{kerashub2024,
|
156
|
+
title={KerasHub},
|
157
|
+
author={Watson, Matthew, and Chollet, Fran\c{c}ois and Sreepathihalli,
|
158
|
+
Divyashree, and Saadat, Samaneh and Sampath, Ramesh, and Rasskin, Gabriel and
|
159
|
+
and Zhu, Scott and Singh, Varun and Wood, Luke and Tan, Zhenyu and Stenbit,
|
160
|
+
Ian and Qian, Chen, and Bischof, Jonathan and others},
|
161
|
+
year={2024},
|
159
162
|
howpublished={\url{https://github.com/keras-team/keras-hub}},
|
160
163
|
}
|
161
164
|
```
|
@@ -1,16 +1,3 @@
|
|
1
|
-
# Copyright 2024 The KerasHub Authors
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
1
|
import os
|
15
2
|
|
16
3
|
# sentencepiece segfaults on some version of tensorflow if tf is imported first.
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"""DO NOT EDIT.
|
2
|
+
|
3
|
+
This file was autogenerated. Do not edit it by hand,
|
4
|
+
since your modifications would be overwritten.
|
5
|
+
"""
|
6
|
+
|
7
|
+
from keras_hub.api import bounding_box
|
8
|
+
from keras_hub.api import layers
|
9
|
+
from keras_hub.api import metrics
|
10
|
+
from keras_hub.api import models
|
11
|
+
from keras_hub.api import samplers
|
12
|
+
from keras_hub.api import tokenizers
|
13
|
+
from keras_hub.api import utils
|
14
|
+
from keras_hub.src.utils.preset_utils import upload_preset
|
15
|
+
from keras_hub.src.version_utils import __version__
|
16
|
+
from keras_hub.src.version_utils import version
|
@@ -1,16 +1,3 @@
|
|
1
|
-
# Copyright 2024 The KerasHub Authors
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
1
|
"""DO NOT EDIT.
|
15
2
|
|
16
3
|
This file was autogenerated. Do not edit it by hand,
|
@@ -1,16 +1,3 @@
|
|
1
|
-
# Copyright 2024 The KerasHub Authors
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
1
|
"""DO NOT EDIT.
|
15
2
|
|
16
3
|
This file was autogenerated. Do not edit it by hand,
|
@@ -50,6 +37,9 @@ from keras_hub.src.layers.preprocessing.resizing_image_converter import (
|
|
50
37
|
ResizingImageConverter,
|
51
38
|
)
|
52
39
|
from keras_hub.src.layers.preprocessing.start_end_packer import StartEndPacker
|
40
|
+
from keras_hub.src.models.densenet.densenet_image_converter import (
|
41
|
+
DenseNetImageConverter,
|
42
|
+
)
|
53
43
|
from keras_hub.src.models.pali_gemma.pali_gemma_image_converter import (
|
54
44
|
PaliGemmaImageConverter,
|
55
45
|
)
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"""DO NOT EDIT.
|
2
|
+
|
3
|
+
This file was autogenerated. Do not edit it by hand,
|
4
|
+
since your modifications would be overwritten.
|
5
|
+
"""
|
6
|
+
|
7
|
+
from keras_hub.src.metrics.bleu import Bleu
|
8
|
+
from keras_hub.src.metrics.edit_distance import EditDistance
|
9
|
+
from keras_hub.src.metrics.perplexity import Perplexity
|
10
|
+
from keras_hub.src.metrics.rouge_l import RougeL
|
11
|
+
from keras_hub.src.metrics.rouge_n import RougeN
|
@@ -1,16 +1,3 @@
|
|
1
|
-
# Copyright 2024 The KerasHub Authors
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
1
|
"""DO NOT EDIT.
|
15
2
|
|
16
3
|
This file was autogenerated. Do not edit it by hand,
|
@@ -66,6 +53,8 @@ from keras_hub.src.models.bloom.bloom_causal_lm_preprocessor import (
|
|
66
53
|
from keras_hub.src.models.bloom.bloom_tokenizer import BloomTokenizer
|
67
54
|
from keras_hub.src.models.causal_lm import CausalLM
|
68
55
|
from keras_hub.src.models.causal_lm_preprocessor import CausalLMPreprocessor
|
56
|
+
from keras_hub.src.models.clip.clip_preprocessor import CLIPPreprocessor
|
57
|
+
from keras_hub.src.models.clip.clip_tokenizer import CLIPTokenizer
|
69
58
|
from keras_hub.src.models.csp_darknet.csp_darknet_backbone import (
|
70
59
|
CSPDarkNetBackbone,
|
71
60
|
)
|
@@ -100,6 +89,9 @@ from keras_hub.src.models.densenet.densenet_backbone import DenseNetBackbone
|
|
100
89
|
from keras_hub.src.models.densenet.densenet_image_classifier import (
|
101
90
|
DenseNetImageClassifier,
|
102
91
|
)
|
92
|
+
from keras_hub.src.models.densenet.densenet_image_classifier_preprocessor import (
|
93
|
+
DenseNetImageClassifierPreprocessor,
|
94
|
+
)
|
103
95
|
from keras_hub.src.models.distil_bert.distil_bert_backbone import (
|
104
96
|
DistilBertBackbone,
|
105
97
|
)
|
@@ -260,7 +252,17 @@ from keras_hub.src.models.sam.sam_backbone import SAMBackbone
|
|
260
252
|
from keras_hub.src.models.sam.sam_image_segmenter import SAMImageSegmenter
|
261
253
|
from keras_hub.src.models.seq_2_seq_lm import Seq2SeqLM
|
262
254
|
from keras_hub.src.models.seq_2_seq_lm_preprocessor import Seq2SeqLMPreprocessor
|
255
|
+
from keras_hub.src.models.stable_diffusion_3.stable_diffusion_3_backbone import (
|
256
|
+
StableDiffusion3Backbone,
|
257
|
+
)
|
258
|
+
from keras_hub.src.models.stable_diffusion_3.stable_diffusion_3_text_to_image import (
|
259
|
+
StableDiffusion3TextToImage,
|
260
|
+
)
|
261
|
+
from keras_hub.src.models.stable_diffusion_3.stable_diffusion_3_text_to_image_preprocessor import (
|
262
|
+
StableDiffusion3TextToImagePreprocessor,
|
263
|
+
)
|
263
264
|
from keras_hub.src.models.t5.t5_backbone import T5Backbone
|
265
|
+
from keras_hub.src.models.t5.t5_preprocessor import T5Preprocessor
|
264
266
|
from keras_hub.src.models.t5.t5_tokenizer import T5Tokenizer
|
265
267
|
from keras_hub.src.models.task import Task
|
266
268
|
from keras_hub.src.models.text_classifier import TextClassifier
|
@@ -268,6 +270,7 @@ from keras_hub.src.models.text_classifier import TextClassifier as Classifier
|
|
268
270
|
from keras_hub.src.models.text_classifier_preprocessor import (
|
269
271
|
TextClassifierPreprocessor,
|
270
272
|
)
|
273
|
+
from keras_hub.src.models.text_to_image import TextToImage
|
271
274
|
from keras_hub.src.models.vgg.vgg_backbone import VGGBackbone
|
272
275
|
from keras_hub.src.models.vgg.vgg_image_classifier import VGGImageClassifier
|
273
276
|
from keras_hub.src.models.vit_det.vit_det_backbone import ViTDetBackbone
|
@@ -1,16 +1,3 @@
|
|
1
|
-
# Copyright 2024 The KerasHub Authors
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
1
|
"""DO NOT EDIT.
|
15
2
|
|
16
3
|
This file was autogenerated. Do not edit it by hand,
|
@@ -1,16 +1,3 @@
|
|
1
|
-
# Copyright 2024 The KerasHub Authors
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
1
|
"""DO NOT EDIT.
|
15
2
|
|
16
3
|
This file was autogenerated. Do not edit it by hand,
|
@@ -21,6 +8,7 @@ from keras_hub.src.models.albert.albert_tokenizer import AlbertTokenizer
|
|
21
8
|
from keras_hub.src.models.bart.bart_tokenizer import BartTokenizer
|
22
9
|
from keras_hub.src.models.bert.bert_tokenizer import BertTokenizer
|
23
10
|
from keras_hub.src.models.bloom.bloom_tokenizer import BloomTokenizer
|
11
|
+
from keras_hub.src.models.clip.clip_tokenizer import CLIPTokenizer
|
24
12
|
from keras_hub.src.models.deberta_v3.deberta_v3_tokenizer import (
|
25
13
|
DebertaV3Tokenizer,
|
26
14
|
)
|
File without changes
|
@@ -1,17 +1,3 @@
|
|
1
|
-
# Copyright 2024 The KerasHub Authors
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
1
|
import types
|
16
2
|
|
17
3
|
from keras.saving import register_keras_serializable
|
File without changes
|
@@ -1,16 +1,3 @@
|
|
1
|
-
# Copyright 2024 The KerasHub Authors
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
1
|
"""Converter functions for working with bounding box formats."""
|
15
2
|
|
16
3
|
import keras
|
@@ -1,16 +1,3 @@
|
|
1
|
-
# Copyright 2024 The KerasHub Authors
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
1
|
"""
|
15
2
|
formats.py contains axis information for each supported format.
|
16
3
|
"""
|
@@ -1,17 +1,5 @@
|
|
1
|
-
# Copyright 2024 The KerasHub Authors
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
1
|
"""Contains functions to compute ious of bounding boxes."""
|
2
|
+
|
15
3
|
import math
|
16
4
|
|
17
5
|
import keras
|
@@ -1,17 +1,3 @@
|
|
1
|
-
# Copyright 2024 The KerasHub Authors
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
1
|
import keras_hub.src.bounding_box.validate_format as validate_format
|
16
2
|
from keras_hub.src.api_export import keras_hub_export
|
17
3
|
|
@@ -1,16 +1,3 @@
|
|
1
|
-
# Copyright 2024 The KerasHub Authors
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
1
|
import keras
|
15
2
|
|
16
3
|
import keras_hub.src.bounding_box.validate_format as validate_format
|
@@ -1,16 +1,3 @@
|
|
1
|
-
# Copyright 2024 The KerasHub Authors
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
1
|
"""Utility functions for working with bounding boxes."""
|
15
2
|
|
16
3
|
from keras import ops
|
@@ -1,17 +1,3 @@
|
|
1
|
-
# Copyright 2024 The KerasHub Authors
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# https://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
1
|
from keras_hub.src.api_export import keras_hub_export
|
16
2
|
|
17
3
|
try:
|
File without changes
|
File without changes
|