Home
last modified time | relevance | path

Searched refs:num_true (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/python/ops/
Dcandidate_sampling_ops.py34 def uniform_candidate_sampler(true_classes, num_true, num_sampled, unique, argument
85 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
96 def log_uniform_candidate_sampler(true_classes, num_true, num_sampled, unique, argument
150 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
158 def learned_unigram_candidate_sampler(true_classes, num_true, num_sampled, argument
210 true_classes, num_true, num_sampled, unique, range_max, seed=seed1,
217 num_true, argument
301 true_classes, num_true, num_sampled, unique, range_max,
308 def all_candidate_sampler(true_classes, num_true, num_sampled, unique, argument
339 true_classes, num_true, num_sampled, unique, seed=seed1, seed2=seed2,
[all …]
Dnn_test.py507 def _GenerateTestData(self, num_classes, dim, batch_size, num_true, labels, argument
550 (batch_size, num_true, dim)),
552 true_b = true_b.reshape((batch_size, num_true))
561 exp_labels = np.hstack((np.ones_like(true_logits) / num_true,
596 for num_true in range(1, 5):
598 low=0, high=num_classes, size=batch_size * num_true)
604 num_true=num_true,
612 labels, dtype=dtypes.int64, shape=(batch_size, num_true)),
616 num_true=num_true,
621 name="sampled_logits_basic_num_true_%d" % num_true)
[all …]
Dnn_impl.py1374 num_true=1, argument
1446 num_true=num_true,
1497 new_true_w_shape = array_ops.concat([[-1, num_true], dim], 0)
1505 true_logits = array_ops.reshape(_sum_rows(dots_as_matrix), [-1, num_true])
1506 true_b = array_ops.reshape(true_b, [-1, num_true])
1512 labels, sampled, num_true=num_true)
1546 array_ops.ones_like(true_logits) / num_true,
1560 num_true=1, argument
1650 num_true=num_true,
1664 num_true=1, argument
[all …]
/external/tensorflow/tensorflow/contrib/nn/python/ops/
Dsampling_ops_test.py161 num_true=self._num_true,
180 num_true=self._num_true,
198 num_true=self._num_true,
214 num_true=self._num_true,
226 num_true=self._num_true,
269 num_true = 1
286 num_true=num_true,
298 num_true=num_true,
Dsampling_ops.py117 num_true, argument
224 num_true=num_true,
240 num_true=num_true,
328 num_true=1,
/external/tensorflow/tensorflow/core/kernels/
Dwhere_op.cc74 TTypes<int64>::Scalar num_true) { in Compute()
75 num_true() = CountAccumulator<T>(input.data(), input.data() + input.size()); in Compute()
139 Tensor num_true; in Compute() local
143 &num_true, attr)); in Compute()
144 auto num_true_t = num_true.scalar<int64>(); in Compute()
212 TTypes<Tindex>::Scalar num_true); \
275 Tensor num_true; in ComputeAsyncType() local
278 TensorShape({}), &num_true), in ComputeAsyncType()
281 auto num_true_t = num_true.scalar<Tindex>(); in ComputeAsyncType()
309 Tindex num_true = *num_true_host.data(); in ComputeAsyncType() local
[all …]
Dwhere_op.h44 typename TTypes<TIndex>::Scalar num_true);
Dwhere_op_gpu.cu.h141 typename TTypes<TIndex>::Scalar num_true) {
146 TIndex* num_true_data = num_true.data();
/external/tensorflow/tensorflow/core/ops/
Dcandidate_sampling_ops.cc30 int64 num_true; in CandidateSamplerShapeFn() local
31 TF_RETURN_IF_ERROR(c->GetAttr("num_true", &num_true)); in CandidateSamplerShapeFn()
39 c->set_output(1, c->Matrix(batch_size, num_true)); in CandidateSamplerShapeFn()
145 int64 num_true; in __anon78463f730202() local
146 TF_RETURN_IF_ERROR(c->GetAttr("num_true", &num_true)); in __anon78463f730202()
153 c->WithValue(c->Dim(true_classes, 1), num_true, &unused)); in __anon78463f730202()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.random.pbtxt9 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'seed\', \'name\'], …
17 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'voca…
25 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
29 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
73 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
Dtensorflow.nn.pbtxt21 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'seed\', \'name\'], …
65 …argspec: "args=[\'true_classes\', \'sampled_candidates\', \'num_true\', \'seed\', \'name\'], varar…
161 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'voca…
189 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
233 …\'biases\', \'labels\', \'inputs\', \'num_sampled\', \'num_classes\', \'num_true\', \'sampled_valu…
257 …\'biases\', \'labels\', \'inputs\', \'num_sampled\', \'num_classes\', \'num_true\', \'sampled_valu…
Dtensorflow.raw_ops.pbtxt81 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'seed\', \'seed2\', …
613 …argspec: "args=[\'true_classes\', \'sampled_candidates\', \'num_true\', \'seed\', \'seed2\', \'nam…
1305 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'voca…
1665 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
1781 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
4137 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
4201 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.random.pbtxt9 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'seed\', \'name\'], …
17 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'voca…
29 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
33 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
85 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
Dtensorflow.nn.pbtxt13 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'seed\', \'name\'], …
65 …argspec: "args=[\'true_classes\', \'sampled_candidates\', \'num_true\', \'seed\', \'name\'], varar…
201 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'voca…
233 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
249 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
285 …\'biases\', \'labels\', \'inputs\', \'num_sampled\', \'num_classes\', \'num_true\', \'sampled_valu…
333 …\'biases\', \'labels\', \'inputs\', \'num_sampled\', \'num_classes\', \'num_true\', \'sampled_valu…
409 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
Dtensorflow.raw_ops.pbtxt81 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'seed\', \'seed2\', …
613 …argspec: "args=[\'true_classes\', \'sampled_candidates\', \'num_true\', \'seed\', \'seed2\', \'nam…
1305 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'voca…
1665 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
1781 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
4137 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
4201 …argspec: "args=[\'true_classes\', \'num_true\', \'num_sampled\', \'unique\', \'range_max\', \'seed…
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_AllCandidateSampler.pbtxt6 A batch_size * num_true matrix, in which each row contains the
7 IDs of the num_true target_classes in the corresponding original label.
20 A batch_size * num_true matrix, representing
35 name: "num_true"
Dapi_def_UniformCandidateSampler.pbtxt6 A batch_size * num_true matrix, in which each row contains the
7 IDs of the num_true target_classes in the corresponding original label.
20 A batch_size * num_true matrix, representing
35 name: "num_true"
Dapi_def_LearnedUnigramCandidateSampler.pbtxt6 A batch_size * num_true matrix, in which each row contains the
7 IDs of the num_true target_classes in the corresponding original label.
20 A batch_size * num_true matrix, representing
35 name: "num_true"
Dapi_def_LogUniformCandidateSampler.pbtxt6 A batch_size * num_true matrix, in which each row contains the
7 IDs of the num_true target_classes in the corresponding original label.
20 A batch_size * num_true matrix, representing
35 name: "num_true"
Dapi_def_ThreadUnsafeUnigramCandidateSampler.pbtxt7 A batch_size * num_true matrix, in which each row contains the
8 IDs of the num_true target_classes in the corresponding original label.
21 A batch_size * num_true matrix, representing
36 name: "num_true"
Dapi_def_FixedUnigramCandidateSampler.pbtxt6 A batch_size * num_true matrix, in which each row contains the
7 IDs of the num_true target_classes in the corresponding original label.
20 A batch_size * num_true matrix, representing
35 name: "num_true"
Dapi_def_ComputeAccidentalHits.pbtxt36 name: "num_true"
/external/tensorflow/tensorflow/contrib/metrics/python/kernel_tests/
Dhistogram_ops_test.py229 num_true = labels.sum()
234 true_scores = x + rng.rand(num_true) * (1 - x)
/external/tensorflow/tensorflow/go/op/
Dwrappers.go3751 …its(scope *Scope, true_classes tf.Output, sampled_candidates tf.Output, num_true int64, optional .…
3755 attrs := map[string]interface{}{"num_true": num_true}
3910 func FixedUnigramCandidateSampler(scope *Scope, true_classes tf.Output, num_true int64, num_sampled…
3914 …attrs := map[string]interface{}{"num_true": num_true, "num_sampled": num_sampled, "unique": unique…
3983 func LogUniformCandidateSampler(scope *Scope, true_classes tf.Output, num_true int64, num_sampled i…
3987 …attrs := map[string]interface{}{"num_true": num_true, "num_sampled": num_sampled, "unique": unique…
4056 func UniformCandidateSampler(scope *Scope, true_classes tf.Output, num_true int64, num_sampled int6…
4060 …attrs := map[string]interface{}{"num_true": num_true, "num_sampled": num_sampled, "unique": unique…
19897 func ThreadUnsafeUnigramCandidateSampler(scope *Scope, true_classes tf.Output, num_true int64, num_…
19901 …attrs := map[string]interface{}{"num_true": num_true, "num_sampled": num_sampled, "unique": unique…
[all …]
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dops_compatibility.md1057 a tensor with shape (num_true, dim_size(condition)).

12