/external/tensorflow/tensorflow/core/kernels/ |
D | candidate_sampler_ops.cc | 158 std::vector<float> unigrams; in FixedUnigramCandidateSamplerOp() local 159 OP_REQUIRES_OK(context, context->GetAttr("unigrams", &unigrams)); in FixedUnigramCandidateSamplerOp() 161 context, !vocab_file.empty() || !unigrams.empty(), in FixedUnigramCandidateSamplerOp() 163 OP_REQUIRES(context, vocab_file.empty() || unigrams.empty(), in FixedUnigramCandidateSamplerOp() 181 set_sampler(new FixedUnigramSampler(range_max, unigrams, distortion, in FixedUnigramCandidateSamplerOp()
|
D | range_sampler.cc | 252 const std::vector<float>& unigrams, in FixedUnigramSampler() argument 261 LoadFromUnigrams(unigrams, distortion); in FixedUnigramSampler() 313 void FixedUnigramSampler::LoadFromUnigrams(const std::vector<float>& unigrams, in LoadFromUnigrams() argument 316 for (float w : unigrams) { in LoadFromUnigrams()
|
D | range_sampler.h | 219 FixedUnigramSampler(int64 range, const std::vector<float>& unigrams, 247 void LoadFromUnigrams(const std::vector<float>& unigrams, float distortion);
|
/external/tensorflow/tensorflow/python/ops/ |
D | candidate_sampling_ops.py | 231 unigrams=(), argument 309 unigrams=unigrams, seed=seed1, seed2=seed2, name=name)
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v2/ |
D | FixedUnigramCandidateSampler.pbtxt | 80 name: "unigrams" 181 name: "unigrams"
|
/external/tensorflow/tensorflow/core/ops/compat/ops_history_v1/ |
D | FixedUnigramCandidateSampler.pbtxt | 80 name: "unigrams" 181 name: "unigrams"
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_FixedUnigramCandidateSampler.pbtxt | 67 and unigrams needs to be passed to this op. 107 name: "unigrams" 110 order. Exactly one of vocab_file and unigrams should be passed to this op.
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.random.pbtxt | 29 …e\', \'distortion\', \'num_reserved_ids\', \'num_shards\', \'shard\', \'unigrams\', \'seed\', \'na…
|
D | tensorflow.nn.pbtxt | 161 …e\', \'distortion\', \'num_reserved_ids\', \'num_shards\', \'shard\', \'unigrams\', \'seed\', \'na…
|
D | tensorflow.raw_ops.pbtxt | 1665 …e\', \'distortion\', \'num_reserved_ids\', \'num_shards\', \'shard\', \'unigrams\', \'seed\', \'se…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.random.pbtxt | 29 …e\', \'distortion\', \'num_reserved_ids\', \'num_shards\', \'shard\', \'unigrams\', \'seed\', \'na…
|
D | tensorflow.nn.pbtxt | 201 …e\', \'distortion\', \'num_reserved_ids\', \'num_shards\', \'shard\', \'unigrams\', \'seed\', \'na…
|
D | tensorflow.raw_ops.pbtxt | 1665 …e\', \'distortion\', \'num_reserved_ids\', \'num_shards\', \'shard\', \'unigrams\', \'seed\', \'se…
|
/external/tensorflow/tensorflow/core/ops/compat/ |
D | ops_history.v0.pbtxt | 12391 name: "unigrams"
|
D | ops_history.v2.pbtxt | 26420 name: "unigrams" 26521 name: "unigrams"
|
/external/tensorflow/tensorflow/core/ops/ |
D | ops.pbtxt | 16916 name: "unigrams"
|