MCPcopy Create free account
hub / github.com/apple/ml-pointersect / reshape

Method reshape

pointersect/inference/structures.py:1041–1044  ·  view source on GitHub ↗
(self, *shape: T.List[int])

Source from the content-addressed store, hash-verified

1039 return self
1040
1041 def reshape(self, *shape: T.List[int]):
1042 self.origins_w = self.origins_w.reshape(*shape)
1043 self.directions_w = self.directions_w.reshape(*shape)
1044 return self
1045
1046 def chunk(self, chunks: int, dim: int = 0) -> T.List['Ray']:
1047 """Return a"""

Callers 15

upfirdn2d_nativeFunction · 0.45
_testMethod · 0.45
test_1Method · 0.45
test_2Method · 0.45
forwardMethod · 0.45
compute_attn_contextsMethod · 0.45
forwardMethod · 0.45
upfirdn2dFunction · 0.45
reshapeFunction · 0.45
create_pcdFunction · 0.45

Calls

no outgoing calls

Tested by 4

upfirdn2d_nativeFunction · 0.36
_testMethod · 0.36
test_1Method · 0.36
test_2Method · 0.36