MCPcopy Create free account
hub / github.com/numpy/numpy / test_index_transformations

Method test_index_transformations

numpy/core/tests/test_einsum.py:947–951  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

945 self.optimize_compare('a,b,ab->ab')
946
947 def test_index_transformations(self):
948 # Simple index transformation cases
949 self.optimize_compare('ea,fb,gc,hd,abcd->efgh')
950 self.optimize_compare('ea,fb,abcd,gc,hd->efgh')
951 self.optimize_compare('abcd,ea,fb,gc,hd->efgh')
952
953 def test_complex(self):
954 # Long test cases

Callers

nothing calls this directly

Calls 1

optimize_compareMethod · 0.95

Tested by

no test coverage detected