Searched refs:unigrams (Results 1 – 15 of 15) sorted by relevance
/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 | 249 const std::vector<float>& unigrams, in FixedUnigramSampler() argument 258 LoadFromUnigrams(unigrams, distortion); in FixedUnigramSampler() 310 void FixedUnigramSampler::LoadFromUnigrams(const std::vector<float>& unigrams, in LoadFromUnigrams() argument 313 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 | 226 unigrams=(), argument 304 unigrams=unigrams, seed=seed1, seed2=seed2, name=name)
|
/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 | 17 …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 | 1305 …e\', \'distortion\', \'num_reserved_ids\', \'num_shards\', \'shard\', \'unigrams\', \'seed\', \'se…
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.random.pbtxt | 17 …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 | 1305 …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 | 26603 name: "unigrams" 26704 name: "unigrams"
|
D | ops_history.v1.pbtxt | 26974 name: "unigrams" 27075 name: "unigrams"
|
/external/tensorflow/tensorflow/core/ops/ |
D | ops.pbtxt | 13294 name: "unigrams"
|