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

Method full

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

Source from the content-addressed store, hash-verified

2960 return tnp.arange(start, stop, step)
2961
2962 def full(self, shape, fill_value, type_as=None):
2963 if type_as is None:
2964 return tnp.full(shape, fill_value)
2965 else:
2966 return tnp.full(shape, fill_value, dtype=type_as.dtype)
2967
2968 def eye(self, N, M=None, type_as=None):
2969 if type_as is None:

Callers

nothing calls this directly

Calls 1

fullMethod · 0.45

Tested by

no test coverage detected