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

Method full

ot/backend.py:1163–1167  ·  view source on GitHub ↗
(self, shape, fill_value, type_as=None)

Source from the content-addressed store, hash-verified

1161 return np.arange(start, stop, step)
1162
1163 def full(self, shape, fill_value, type_as=None):
1164 if type_as is None:
1165 return np.full(shape, fill_value)
1166 else:
1167 return np.full(shape, fill_value, dtype=type_as.dtype)
1168
1169 def eye(self, N, M=None, type_as=None):
1170 if type_as is None:

Callers

nothing calls this directly

Calls 1

fullMethod · 0.45

Tested by

no test coverage detected