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

Method unsqueeze

ot/backend.py:2348–2349  ·  view source on GitHub ↗
(self, a, axis)

Source from the content-addressed store, hash-verified

2346 return torch.squeeze(a, dim=axis)
2347
2348 def unsqueeze(self, a, axis):
2349 return torch.unsqueeze(a, dim=axis)
2350
2351 def bitsize(self, type_as):
2352 return torch.finfo(type_as.dtype).bits

Callers

nothing calls this directly

Calls 1

unsqueezeMethod · 0.45

Tested by

no test coverage detected