Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tensorflow/models
/ to_embed
Method
to_embed
official/projects/pixel/modeling/pixel.py:93–94 ·
view source on GitHub ↗
(self, patches)
Source
from the content-addressed store, hash-verified
91
super().build(input_shape)
92
93
def
to_embed(self, patches):
94
return
self.patch_to_embed(patches)
95
96
def
insert_cls(self, patch_embeds):
97
return
self.token_cls(patch_embeds)
Callers
1
call
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected