/external/tensorflow/tensorflow/core/kernels/ |
D | candidate_sampler_ops.cc | 156 string vocab_file; in FixedUnigramCandidateSamplerOp() local 157 OP_REQUIRES_OK(context, context->GetAttr("vocab_file", &vocab_file)); in FixedUnigramCandidateSamplerOp() 161 context, !vocab_file.empty() || !unigrams.empty(), in FixedUnigramCandidateSamplerOp() 163 OP_REQUIRES(context, vocab_file.empty() || unigrams.empty(), in FixedUnigramCandidateSamplerOp() 176 if (!vocab_file.empty()) { in FixedUnigramCandidateSamplerOp() 177 set_sampler(new FixedUnigramSampler(context->env(), range_max, vocab_file, in FixedUnigramCandidateSamplerOp()
|
D | range_sampler.cc | 236 const string& vocab_file, in FixedUnigramSampler() argument 246 TF_CHECK_OK(LoadFromFile(env, vocab_file, distortion)); in FixedUnigramSampler() 284 Status FixedUnigramSampler::LoadFromFile(Env* env, const string& vocab_file, in LoadFromFile() argument 287 TF_RETURN_IF_ERROR(env->NewRandomAccessFile(vocab_file, &file)); in LoadFromFile()
|
D | range_sampler.h | 215 FixedUnigramSampler(Env* env, int64 range, const string& vocab_file, 245 Status LoadFromFile(Env* env, const string& vocab_file, float distortion);
|
D | lookup_util.cc | 34 Status GetNumLinesInTextFile(Env* env, const string& vocab_file, in GetNumLinesInTextFile() argument 37 TF_RETURN_IF_ERROR(env->NewRandomAccessFile(vocab_file, &file)); in GetNumLinesInTextFile()
|
/external/tensorflow/tensorflow/python/ops/ |
D | candidate_sampling_ops.py | 226 vocab_file='', argument 307 vocab_file=vocab_file, distortion=distortion,
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | lookup_ops_test.py | 913 vocab_file = self._createVocabFile("feat_to_id_1.txt") 918 vocab_file, vocab_size=vocab_size) 932 vocab_file = self._createVocabFile("feat_to_id_2.txt") 937 vocab_file, vocab_size=vocab_size) 949 vocab_file = self._createVocabFile( 955 vocab_file, vocab_size=vocab_size, key_dtype=dtypes.int64) 975 vocab_file = self._createVocabFile("feat_to_id_1.txt") 979 vocab_file, vocab_size=vocab_size), oov_buckets) 990 vocab_file = self._createVocabFile("feat_to_id_1.txt") 994 vocab_file, vocab_size=vocab_size), oov_buckets) [all …]
|
/external/tflite-support/tensorflow_lite_support/cc/text/tokenizers/ |
D | tokenizer_utils.cc | 72 CheckAndLoadFirstAssociatedFile(options->vocab_file(), in CreateTokenizerFromProcessUnit() 91 CheckAndLoadFirstAssociatedFile(options->vocab_file(), in CreateTokenizerFromProcessUnit()
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/ |
D | FixedUnigramCandidateSampler.pbtxt | 42 name: "vocab_file" 143 name: "vocab_file"
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/ |
D | FixedUnigramCandidateSampler.pbtxt | 42 name: "vocab_file" 143 name: "vocab_file"
|
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/benchmarks/ |
D | index_lookup_forward_benchmark.py | 100 vocab_file = self._write_to_temp_file("vocab", vocab) 102 filename=vocab_file,
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_FixedUnigramCandidateSampler.pbtxt | 61 name: "vocab_file" 66 corresponding to the count or relative probability. Exactly one of vocab_file 110 order. Exactly one of vocab_file and unigrams should be passed to this op.
|
/external/tensorflow/tensorflow/python/feature_column/ |
D | sequence_feature_column_test.py | 264 vocab_file = os.path.join(self.get_temp_dir(), file_name) 265 with open(vocab_file, 'w') as f: 267 return vocab_file
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.random.pbtxt | 29 …classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'vocab_file\', \'distortion\…
|
D | tensorflow.nn.pbtxt | 161 …classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'vocab_file\', \'distortion\…
|
D | tensorflow.raw_ops.pbtxt | 1665 …classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'vocab_file\', \'distortion\…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.random.pbtxt | 29 …classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'vocab_file\', \'distortion\…
|
D | tensorflow.nn.pbtxt | 201 …classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'vocab_file\', \'distortion\…
|
D | tensorflow.raw_ops.pbtxt | 1665 …classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'vocab_file\', \'distortion\…
|
/external/tensorflow/tensorflow/python/keras/layers/preprocessing/ |
D | index_lookup_test.py | 978 vocab_file = self._write_to_temp_file("temp", vocab_data) 980 filename=vocab_file, 1005 vocab_file = self._write_to_temp_file("temp", vocab_data) 1007 filename=vocab_file,
|
/external/tensorflow/tensorflow/python/training/ |
D | warm_starting_util_test.py | 48 vocab_file = os.path.join(self.get_temp_dir(), file_name) 49 with open(vocab_file, "w") as f: 51 return vocab_file
|
/external/tflite-support/tensorflow_lite_support/metadata/ |
D | metadata_schema.fbs | 438 vocab_file:[AssociatedFile]; 449 vocab_file:[AssociatedFile]; 457 // And then the tokens can be converted into ids according to the vocab_file. 462 vocab_file:[AssociatedFile];
|
/external/tflite-support/tensorflow_lite_support/cc/task/text/nlclassifier/ |
D | nl_classifier.cc | 107 CheckAndLoadFirstAssociatedFile(options->vocab_file(), in CreateRegexTokenizerFromProcessUnit()
|
/external/tensorflow/tensorflow/core/ops/compat/ |
D | ops_history.v0.pbtxt | 12353 name: "vocab_file"
|
D | ops_history.v2.pbtxt | 26382 name: "vocab_file" 26483 name: "vocab_file"
|
/external/tensorflow/tensorflow/core/ops/ |
D | ops.pbtxt | 16878 name: "vocab_file"
|