Home
last modified time | relevance | path

Searched refs:tensor_map_has_key (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/ops/
Dmap_ops.py42 def tensor_map_has_key(input_handle, key): function
43 return gen_map_ops.tensor_map_has_key(input_handle, key)
63 tensor_map_has_key(dmap, k), lambda:
/external/tensorflow/tensorflow/python/kernel_tests/data_structures/
Dmap_ops_test.py109 b = map_ops.tensor_map_has_key(m, k)
110 b2 = map_ops.tensor_map_has_key(m, k2)
123 map_ops.tensor_map_has_key(m, k),
127 map_ops.tensor_map_has_key(m, k2),
406 h = map_ops.tensor_map_has_key(m, k)
428 self.assertAllEqual(map_ops.tensor_map_has_key(m, k), True)
430 self.assertAllEqual(map_ops.tensor_map_has_key(m, k), False)
431 self.assertAllEqual(map_ops.tensor_map_has_key(m, k2), True)
447 self.assertAllEqual(map_ops.tensor_map_has_key(m, k), False)