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

Method dtype_device

ot/backend.py:872–876  ·  view source on GitHub ↗

r""" Returns the dtype and the device of the given tensor.

(self, a)

Source from the content-addressed store, hash-verified

870 raise NotImplementedError()
871
872 def dtype_device(self, a):
873 r"""
874 Returns the dtype and the device of the given tensor.
875 """
876 raise NotImplementedError()
877
878 def assert_same_dtype_device(self, a, b):
879 r"""

Calls

no outgoing calls