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

Method squeeze

ot/backend.py:1374–1375  ·  view source on GitHub ↗
(self, a, axis=None)

Source from the content-addressed store, hash-verified

1372 pass
1373
1374 def squeeze(self, a, axis=None):
1375 return np.squeeze(a, axis=axis)
1376
1377 def unsqueeze(self, a, axis):
1378 return np.expand_dims(a, axis=axis)

Callers

nothing calls this directly

Calls 1

squeezeMethod · 0.45

Tested by

no test coverage detected