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

Method _set_union_count

tensorflow/python/kernel_tests/sets_test.py:1244–1247  ·  view source on GitHub ↗
(self, a, b)

Source from the content-addressed store, hash-verified

1242 return self._run_equivalent_set_ops(ops)
1243
1244 def _set_union_count(self, a, b):
1245 op = sets.set_size(sets.set_union(a, b))
1246 with self.cached_session() as sess:
1247 return self.evaluate(op)
1248
1249 def _assert_set_operation(self, expected_indices, expected_values,
1250 expected_shape, sparse_tensor_value, dtype):

Calls 3

set_sizeMethod · 0.45
cached_sessionMethod · 0.45
evaluateMethod · 0.45

Tested by

no test coverage detected