MCPcopy Create free account
hub / github.com/tensorflow/models / insert_cls

Method insert_cls

official/projects/pixel/modeling/pixel.py:96–97  ·  view source on GitHub ↗
(self, patch_embeds)

Source from the content-addressed store, hash-verified

94 return self.patch_to_embed(patches)
95
96 def insert_cls(self, patch_embeds):
97 return self.token_cls(patch_embeds)
98
99 def call(self, inputs): # pylint:disable=signature-mismatch
100 if isinstance(inputs, dict):

Callers 1

callMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected