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

Method any

ot/backend.py:502–510  ·  view source on GitHub ↗

r""" Tests whether any tensor element along given dimensions evaluates to True. This function follows the api from :any:`numpy.any` See: https://numpy.org/doc/stable/reference/generated/numpy.any.html

(self, a)

Source from the content-addressed store, hash-verified

500 raise NotImplementedError()
501
502 def any(self, a):
503 r"""
504 Tests whether any tensor element along given dimensions evaluates to True.
505
506 This function follows the api from :any:`numpy.any`
507
508 See: https://numpy.org/doc/stable/reference/generated/numpy.any.html
509 """
510 raise NotImplementedError()
511
512 def isnan(self, a):
513 r"""

Callers 15

test_empty_backendFunction · 0.95
sinkhorn_low_rank_kernelFunction · 0.45
is_all_finiteFunction · 0.45
anyMethod · 0.45
anyMethod · 0.45
anyMethod · 0.45
anyMethod · 0.45
anyMethod · 0.45

Calls

no outgoing calls