Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/allenai/molmo2
/ __post_init__
Method
__post_init__
olmo/preprocessing/preprocessor_utils.py:55–56 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
53
dtype: np.dtype
54
55
def
__post_init__(self):
56
assert all(x >= 0
for
x in self.shape
if
x is not None)
57
58
def
extend(self, n, dim=0):
59
shape = list(self.shape)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected