MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / testQR

Method testQR

tensorflow/compiler/tests/qr_op_test.py:103–108  ·  view source on GitHub ↗
(self, rows, cols, dtype)

Source from the content-addressed store, hash-verified

101
102 @parameterized.parameters(*PARAMS)
103 def testQR(self, rows, cols, dtype):
104 # TODO(b/111317468): Test other types.
105 for full_matrices in [True, False]:
106 # Only tests the (3, 2) case for small numbers of rows/columns.
107 for batch_dims in [(), (3,)] + [(3, 2)] * (max(rows, cols) < 10):
108 self._test(dtype, batch_dims + (rows, cols), full_matrices)
109
110
111if __name__ == "__main__":

Callers

nothing calls this directly

Calls 2

_testMethod · 0.95
maxFunction · 0.50

Tested by

no test coverage detected