MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / __len__

Method __len__

SwissArmyTransformer/sat/tokenization/__init__.py:90–91  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

88 self.num_tokens = num_tokens
89
90 def __len__(self):
91 return self.num_tokens

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected