MCPcopy
hub / github.com/microsoft/Cream / EmptyVisual

Class EmptyVisual

TinyCLIP/src/open_clip/model.py:955–958  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

953 self._image_encoder = FNBlock(teacher_image_encoder_fn)
954
955 class EmptyVisual(nn.Module):
956 def __init__(self):
957 super().__init__()
958 self.layers = 0
959 self._image_encoder.visual = EmptyVisual()
960 self._without_ddp[0] = self._image_encoder
961

Callers 1

use_teacher_imageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected