Home
last modified time | relevance | path

Searched refs:unigrams (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dcandidate_sampler_ops.cc158 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()
Drange_sampler.cc249 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()
Drange_sampler.h219 FixedUnigramSampler(int64 range, const std::vector<float>& unigrams,
247 void LoadFromUnigrams(const std::vector<float>& unigrams, float distortion);
/external/tensorflow/tensorflow/python/ops/
Dcandidate_sampling_ops.py226 unigrams=(), argument
304 unigrams=unigrams, seed=seed1, seed2=seed2, name=name)
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_FixedUnigramCandidateSampler.pbtxt67 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/
Dtensorflow.random.pbtxt17 …e\', \'distortion\', \'num_reserved_ids\', \'num_shards\', \'shard\', \'unigrams\', \'seed\', \'na…
Dtensorflow.nn.pbtxt161 …e\', \'distortion\', \'num_reserved_ids\', \'num_shards\', \'shard\', \'unigrams\', \'seed\', \'na…
Dtensorflow.raw_ops.pbtxt1305 …e\', \'distortion\', \'num_reserved_ids\', \'num_shards\', \'shard\', \'unigrams\', \'seed\', \'se…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.random.pbtxt17 …e\', \'distortion\', \'num_reserved_ids\', \'num_shards\', \'shard\', \'unigrams\', \'seed\', \'na…
Dtensorflow.nn.pbtxt201 …e\', \'distortion\', \'num_reserved_ids\', \'num_shards\', \'shard\', \'unigrams\', \'seed\', \'na…
Dtensorflow.raw_ops.pbtxt1305 …e\', \'distortion\', \'num_reserved_ids\', \'num_shards\', \'shard\', \'unigrams\', \'seed\', \'se…
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v0.pbtxt12391 name: "unigrams"
Dops_history.v2.pbtxt26603 name: "unigrams"
26704 name: "unigrams"
Dops_history.v1.pbtxt26974 name: "unigrams"
27075 name: "unigrams"
/external/tensorflow/tensorflow/core/ops/
Dops.pbtxt13294 name: "unigrams"