Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/microsoft/Cream
/ get_proj_feature
Method
get_proj_feature
TinyCLIP/src/open_clip/model.py:807–808 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
805
return
x
806
807
def
get_proj_feature(self, x):
808
return
x @ self.text_projection
809
810
def
forward(self, text, normalized=False):
811
mask = dict()
Callers
1
encode_text
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected