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

Method full

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

Source from the content-addressed store, hash-verified

1572 return jnp.arange(start, stop, step)
1573
1574 def full(self, shape, fill_value, type_as=None):
1575 if type_as is None:
1576 return jnp.full(shape, fill_value)
1577 else:
1578 return self._change_device(
1579 jnp.full(shape, fill_value, dtype=type_as.dtype), type_as
1580 )
1581
1582 def eye(self, N, M=None, type_as=None):
1583 if type_as is None:

Callers

nothing calls this directly

Calls 2

_change_deviceMethod · 0.95
fullMethod · 0.45

Tested by

no test coverage detected