/external/tensorflow/tensorflow/python/kernel_tests/ |
lookup_ops_test.py | 268 vocabulary_file = os.path.join(self.get_temp_dir(), basename) 269 with open(vocabulary_file, "w") as f: 271 return vocabulary_file 274 vocabulary_file = self._createVocabFile("f2i_vocab1.txt") 277 vocabulary_file=vocabulary_file, num_oov_buckets=1) 285 vocabulary_file = self._createVocabFile( 289 vocabulary_file=vocabulary_file, 300 vocabulary_file = self._createVocabFile [all...] |
/external/tensorflow/tensorflow/contrib/lookup/ |
lookup_ops_test.py | [all...] |
lookup_ops.py | 48 def string_to_index_table_from_file(vocabulary_file=None, 55 vocabulary_file, num_oov_buckets, vocab_size, default_value, hasher_spec,
|
/external/tensorflow/tensorflow/python/ops/ |
lookup_ops.py | 887 def index_table_from_file(vocabulary_file=None, 901 `vocabulary_file`, where the whole line is the key and the zero-based line [all...] |
/external/tensorflow/tensorflow/python/estimator/ |
warm_starting_util_test.py | 378 "sc_vocab", vocabulary_file=vocab_path, vocabulary_size=4) 415 "sc_vocab", vocabulary_file=vocab_path, vocabulary_size=4) 461 "sc_vocab", vocabulary_file=current_vocab_path, vocabulary_size=2) 483 new_vocab=sc_vocab.vocabulary_file, 546 "sc_vocab", vocabulary_file=vocab_path, vocabulary_size=4) 605 new_vocab=sc_vocab.vocabulary_file, 640 "sc_vocab", vocabulary_file=new_vocab_path, vocabulary_size=6) 667 new_vocab=sc_vocab.vocabulary_file, 709 "sc_vocab", vocabulary_file=new_vocab_path, vocabulary_size=6) [all...] |
/external/tensorflow/tensorflow/python/feature_column/ |
feature_column_test.py | [all...] |
feature_column.py | 684 categorical_column_with_vocabulary_file with the same vocabulary_file. Some or 729 categorical_column_with_vocabulary_file with the same vocabulary_file. [all...] |
/external/tensorflow/tensorflow/contrib/layers/python/layers/ |
feature_column_test.py | 83 "bbb", vocabulary_file="a_file", vocab_size=454) 86 self.assertEqual(b.lookup_config.vocabulary_file, "a_file") 89 # Vocabulary size should be defined if vocabulary_file is used. 90 fc.sparse_column_with_vocabulary_file("bbb", vocabulary_file="somefile") 93 "bbb", vocabulary_file="a_file", vocab_size=454, dtype=dtypes.int64) 98 "bbb", vocabulary_file="a_file", vocab_size=454, dtype=dtypes.float32) 113 self.assertEqual(weighted_ids.lookup_config.vocabulary_file, "a_file") [all...] |
feature_column_ops_test.py | 329 vocabulary_file = os.path.join(self.get_temp_dir(), "movies.txt") 330 with open(vocabulary_file, "w") as f: 333 "wire", vocabulary_file, vocab_size=3) 353 vocabulary_file = os.path.join(self.get_temp_dir(), "movies.txt") 354 with open(vocabulary_file, "w") as f: 357 "wire", vocabulary_file, vocab_size=3) 375 vocabulary_file = os.path.join(self.get_temp_dir(), "courses.txt") 376 with open(vocabulary_file, "w") as f: 379 "wire", vocabulary_file, vocab_size=3, dtype=dtypes.int64) 400 vocabulary_file = os.path.join(self.get_temp_dir(), "courses.txt" [all...] |
feature_column.py | 380 if (lookup_config and lookup_config.vocabulary_file and 712 vocabulary_file=self.lookup_config.vocabulary_file, 721 vocabulary_file, 735 vocabulary_file: The vocabulary filename. 765 vocabulary_file=vocabulary_file, [all...] |
/external/tensorflow/tensorflow/python/estimator/canned/ |
dnn_testing_utils.py | [all...] |
linear_testing_utils.py | [all...] |