Home
last modified time | relevance | path

Searched refs:sampled_candidates (Results 1 – 21 of 21) sorted by relevance

/external/tensorflow/tensorflow/contrib/layers/python/layers/
Dembedding_ops.py259 params, values, dimension=dimension, sampled_candidates=None,
264 params, values, dimension=None, sampled_candidates=None, hash_key=None, argument
324 if sampled_candidates is None:
330 sampled_candidates = array_ops.tile(array_ops.expand_dims(
333 dimension = array_ops.shape(sampled_candidates)[
334 math_ops.subtract(array_ops.rank(sampled_candidates), 1)]
335 sampled_candidates_shape = array_ops.shape(sampled_candidates)
344 sampled_candidates = array_ops.reshape(sampled_candidates,
365 tensors_to_cross = [sampled_candidates, values]
506 sampled_candidates=None, argument
[all …]
Dembedding_ops_test.py429 sampled_candidates = constant_op.constant([[1, 3, 4, 6], [1, 3, 4, 7]])
435 sampled_candidates=sampled_candidates,
449 sampled_candidates = constant_op.constant(
457 sampled_candidates=sampled_candidates,
472 sampled_candidates=invalid_indices).eval()
518 sampled_candidates = [[1, 0], [2, 1], [3, 2]]
522 sampled_candidates=constant_op.constant(sampled_candidates),
530 for i in range(len(sampled_candidates)):
532 full_result_val[i, sampled_candidates[i]])
/external/tensorflow/tensorflow/python/kernel_tests/
Dcandidate_sampler_ops_test.py58 sampled_candidates, _, _ = candidate_sampling_ops.all_candidate_sampler(
60 result = self.evaluate(sampled_candidates)
64 self.assertEqual(sampled_candidates.get_shape(), [self.NUM_SAMPLED])
98 sampled_candidates, _, _ = candidate_sampling_ops.all_candidate_sampler(
101 true_classes, sampled_candidates, self.NUM_TRUE)
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_ComputeAccidentalHits.pbtxt10 name: "sampled_candidates"
12 The sampled_candidates output of CandidateSampler.
24 A vector of IDs of positions in sampled_candidates that match a true_label
55 summary: "Computes the ids of the positions in sampled_candidates that match true_labels."
Dapi_def_AllCandidateSampler.pbtxt11 name: "sampled_candidates"
Dapi_def_UniformCandidateSampler.pbtxt11 name: "sampled_candidates"
Dapi_def_LearnedUnigramCandidateSampler.pbtxt11 name: "sampled_candidates"
Dapi_def_LogUniformCandidateSampler.pbtxt11 name: "sampled_candidates"
Dapi_def_ThreadUnsafeUnigramCandidateSampler.pbtxt12 name: "sampled_candidates"
Dapi_def_FixedUnigramCandidateSampler.pbtxt11 name: "sampled_candidates"
/external/tensorflow/tensorflow/core/ops/
Dcandidate_sampling_ops.cc155 ShapeHandle sampled_candidates; in __anon78463f730202() local
156 TF_RETURN_IF_ERROR(c->WithRank(c->input(1), 1, &sampled_candidates)); in __anon78463f730202()
Dops.pbtxt611 name: "sampled_candidates"
5869 name: "sampled_candidates"
13222 name: "sampled_candidates"
16263 name: "sampled_candidates"
17354 name: "sampled_candidates"
42114 name: "sampled_candidates"
42842 name: "sampled_candidates"
/external/tensorflow/tensorflow/python/ops/
Dcandidate_sampling_ops.py344 def compute_accidental_hits(true_classes, sampled_candidates, num_true, argument
388 true_classes, sampled_candidates, num_true, seed=seed1, seed2=seed2,
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.nn.pbtxt65 …argspec: "args=[\'true_classes\', \'sampled_candidates\', \'num_true\', \'seed\', \'name\'], varar…
Dtensorflow.raw_ops.pbtxt613 …argspec: "args=[\'true_classes\', \'sampled_candidates\', \'num_true\', \'seed\', \'seed2\', \'nam…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.nn.pbtxt65 …argspec: "args=[\'true_classes\', \'sampled_candidates\', \'num_true\', \'seed\', \'name\'], varar…
Dtensorflow.raw_ops.pbtxt613 …argspec: "args=[\'true_classes\', \'sampled_candidates\', \'num_true\', \'seed\', \'seed2\', \'nam…
/external/tensorflow/tensorflow/go/op/
Dwrappers.go3751 func ComputeAccidentalHits(scope *Scope, true_classes tf.Output, sampled_candidates tf.Output, num_…
3762 true_classes, sampled_candidates,
3910 …l, range_max int64, optional ...FixedUnigramCandidateSamplerAttr) (sampled_candidates tf.Output, t…
3983 …ool, range_max int64, optional ...LogUniformCandidateSamplerAttr) (sampled_candidates tf.Output, t…
4056 …e bool, range_max int64, optional ...UniformCandidateSamplerAttr) (sampled_candidates tf.Output, t…
19897 …e_max int64, optional ...ThreadUnsafeUnigramCandidateSamplerAttr) (sampled_candidates tf.Output, t…
31001 …_sampled int64, unique bool, optional ...AllCandidateSamplerAttr) (sampled_candidates tf.Output, t…
36988 … range_max int64, optional ...LearnedUnigramCandidateSamplerAttr) (sampled_candidates tf.Output, t…
/external/tensorflow/tensorflow/core/ops/compat/
Dops_history.v0.pbtxt789 name: "sampled_candidates"
7626 name: "sampled_candidates"
12319 name: "sampled_candidates"
15026 name: "sampled_candidates"
15652 name: "sampled_candidates"
39088 name: "sampled_candidates"
39821 name: "sampled_candidates"
Dops_history.v2.pbtxt1457 name: "sampled_candidates"
1506 name: "sampled_candidates"
13343 name: "sampled_candidates"
26531 name: "sampled_candidates"
26632 name: "sampled_candidates"
31919 name: "sampled_candidates"
31974 name: "sampled_candidates"
33501 name: "sampled_candidates"
33556 name: "sampled_candidates"
85014 name: "sampled_candidates"
[all …]
Dops_history.v1.pbtxt1457 name: "sampled_candidates"
1506 name: "sampled_candidates"
13401 name: "sampled_candidates"
26902 name: "sampled_candidates"
27003 name: "sampled_candidates"
32304 name: "sampled_candidates"
32359 name: "sampled_candidates"
33886 name: "sampled_candidates"
33941 name: "sampled_candidates"
85641 name: "sampled_candidates"
[all …]