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

Method stack

ot/backend.py:2213–2214  ·  view source on GitHub ↗
(self, arrays, axis=0)

Source from the content-addressed store, hash-verified

2211 return torch.logsumexp(a, dim=tuple(range(len(a.shape))), keepdim=keepdims)
2212
2213 def stack(self, arrays, axis=0):
2214 return torch.stack(arrays, dim=axis)
2215
2216 def reshape(self, a, shape):
2217 return torch.reshape(a, shape)

Callers

nothing calls this directly

Calls 1

stackMethod · 0.45

Tested by

no test coverage detected