Searched refs:expected_keys (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/ |
D | make_csv_dataset_test.py | 64 def _next_expected_batch(self, expected_output, expected_keys, batch_size, argument 66 features = {k: [] for k in expected_keys} 69 for n, key in enumerate(expected_keys): 71 if len(features[expected_keys[0]]) == batch_size: 73 features = {k: [] for k in expected_keys} 74 if features[expected_keys[0]]: # Leftover from the last batch 84 expected_keys, argument 90 expected_keys, 111 expected_keys, argument 127 expected_output, expected_keys) [all …]
|
/external/tensorflow/tensorflow/contrib/predictor/ |
D | predictor.py | 65 expected_keys = set(self.feed_tensors.keys()) 66 unexpected_keys = input_keys - expected_keys 70 unexpected_keys, expected_keys))
|
/external/tensorflow/tensorflow/contrib/bigtable/python/kernel_tests/ |
D | bigtable_ops_test.py | 83 expected_keys = list(self.COMMON_ROW_KEYS) 84 expected_keys.reverse() 92 want = expected_keys.pop() 125 expected_keys = list(self.COMMON_ROW_KEYS) 127 expected_tuples = zip(expected_keys, expected_values)
|
/external/tensorflow/tensorflow/tools/api/tests/ |
D | api_compatibility_test.py | 206 expected_keys = set(expected_dict.keys()) 208 only_in_expected = expected_keys - actual_keys 209 only_in_actual = actual_keys - expected_keys 210 all_keys = expected_keys | actual_keys
|
/external/tensorflow/tensorflow/python/training/ |
D | input.py | 457 expected_keys = set(tensors_list[0].keys()) 459 if set(tensors.keys()) != expected_keys:
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | barrier_ops_test.py | 368 expected_keys = sorted( 374 self.assertAllEqual(all_keys, expected_keys)
|
/external/tensorflow/tensorflow/python/feature_column/ |
D | feature_column_v2.py | 4533 def _check_config_keys(config, expected_keys): argument 4535 if set(config.keys()) != set(expected_keys): 4537 config, expected_keys))
|