Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export video swin APIs #2428

Merged
merged 2 commits into from
Apr 29, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Export APIs
  • Loading branch information
sachinprasadhs authored Apr 29, 2024
commit a582ceccaad630401251b64a24a679e1fabbfcb0
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

import copy

from keras_cv.api_export import keras_cv_export
from keras_cv.src.models.backbones.video_swin.video_swin_backbone import (
VideoSwinBackbone,
)
Expand Down Expand Up @@ -42,6 +43,7 @@
""" # noqa: E501


@keras_cv_export("keras_cv.models.VideoSwinTBackbone")
class VideoSwinTBackbone(VideoSwinBackbone):
def __new__(
cls,
Expand Down Expand Up @@ -79,6 +81,7 @@ def presets_with_weights(cls):
return cls.presets


@keras_cv_export("keras_cv.models.VideoSwinSBackbone")
class VideoSwinSBackbone(VideoSwinBackbone):
def __new__(
cls,
Expand Down Expand Up @@ -116,6 +119,7 @@ def presets_with_weights(cls):
return cls.presets


@keras_cv_export("keras_cv.models.VideoSwinBBackbone")
class VideoSwinBBackbone(VideoSwinBackbone):
def __new__(
cls,
Expand Down