MCPcopy Create free account
hub / github.com/PythonOT/POT / reshape

Method reshape

ot/backend.py:2216–2217  ·  view source on GitHub ↗
(self, a, shape)

Source from the content-addressed store, hash-verified

2214 return torch.stack(arrays, dim=axis)
2215
2216 def reshape(self, a, shape):
2217 return torch.reshape(a, shape)
2218
2219 def seed(self, seed=None):
2220 if seed is None:

Callers

nothing calls this directly

Calls 1

reshapeMethod · 0.45

Tested by

no test coverage detected