Searched refs:to_float (Results 1 - 25 of 63) sorted by relevance

123

/external/tensorflow/tensorflow/contrib/opt/python/training/
H A Dsign_decay.py56 decayed = math_ops.to_float(remaining_steps) / math_ops.to_float(
95 completed_fraction = math_ops.to_float(global_step) / math_ops.to_float(
146 num = math_ops.mod(num_periods * math_ops.to_float(global_step),
148 fraction = num / math_ops.to_float(decay_steps)
152 tmp = math_ops.to_float(
153 num_periods * global_step) / math_ops.to_float(decay_steps)
/external/tensorflow/tensorflow/contrib/losses/python/losses/
H A Dloss_ops.py129 losses = math_ops.to_float(losses)
130 weights = math_ops.to_float(ops.convert_to_tensor(weights))
176 math_ops.to_float(array_ops.size(losses)),
177 math_ops.to_float(batch_size))
188 math_ops.to_float(math_ops.not_equal(weights, 0)),
194 num_to_broadcast = math_ops.to_float(math_ops.reduce_prod(broadcast_dims))
292 predictions = math_ops.to_float(predictions)
293 labels = math_ops.to_float(labels)
468 predictions = math_ops.to_float(predictions)
469 labels = math_ops.to_float(label
[all...]
/external/tensorflow/tensorflow/python/ops/losses/
H A Dlosses_impl.py138 weights = math_ops.to_float(weights)
194 losses = math_ops.to_float(losses)
195 weights = math_ops.to_float(weights)
257 predictions = math_ops.to_float(predictions)
258 labels = math_ops.to_float(labels)
309 predictions = math_ops.to_float(predictions)
310 labels = math_ops.to_float(labels)
349 logits = math_ops.to_float(logits)
350 labels = math_ops.to_float(labels)
413 predictions = math_ops.to_float(prediction
[all...]
/external/tensorflow/tensorflow/contrib/signal/python/ops/
H A Dmfcc_ops.py108 return dct2 * math_ops.rsqrt(math_ops.to_float(num_mel_bins) * 2.0)
/external/tensorflow/tensorflow/contrib/boosted_trees/python/utils/
H A Dlosses.py40 labels = math_ops.to_float(labels)
77 labels = math_ops.to_float(labels)
210 labels = math_ops.to_float(labels)
/external/tensorflow/tensorflow/contrib/layers/python/layers/
H A Dsummaries.py93 standard_ops.to_float(
100 standard_ops.to_float(
H A Dtarget_column.py188 math_ops.to_float(features[self._weight_column_name]), shape=(-1,))
256 math_ops.to_float(math_ops.reduce_sum(weight_tensor)),
326 labels_float = math_ops.to_float(labels)
402 return math_ops.square(logits - math_ops.to_float(target))
410 labels=math_ops.to_float(target), logits=logits)
478 return math_ops.to_float(weights)
497 threshold_predictions = math_ops.to_float(
/external/tensorflow/tensorflow/contrib/slim/python/slim/data/
H A Dprefetch_queue.py90 math_ops.to_float(queue.size()) * (1. / capacity))
/external/tensorflow/tensorflow/contrib/tensor_forest/python/ops/
H A Ddata_ops.py47 return math_ops.to_float(tensor)
198 return math_ops.to_float(
209 return math_ops.to_float(sparse_ops.sparse_tensor_to_dense(
212 return math_ops.to_float(labels)
/external/tensorflow/tensorflow/contrib/gan/python/eval/python/
H A Dsummaries_impl.py141 math_ops.abs(math_ops.to_float(generated) - math_ops.to_float(real)) for
/external/tensorflow/tensorflow/contrib/slim/python/slim/nets/
H A Dresnet_v1_test.py57 return math_ops.to_float(
68 x = array_ops.reshape(math_ops.to_float(math_ops.range(9)), [1, 3, 3, 1])
76 x = array_ops.reshape(math_ops.to_float(math_ops.range(16)), [1, 4, 4, 1])
98 y1_expected = math_ops.to_float([[14, 28, 43, 26], [28, 48, 66, 37],
103 y2_expected = math_ops.to_float([[14, 43], [43, 84]])
110 y4_expected = math_ops.to_float([[48, 37], [37, 22]])
135 y1_expected = math_ops.to_float([[14, 28, 43, 58, 34], [28, 48, 66, 84, 46],
142 y2_expected = math_ops.to_float([[14, 43, 34], [43, 84, 55], [34, 55, 30]])
H A Dresnet_v2_test.py57 return math_ops.to_float(
68 x = array_ops.reshape(math_ops.to_float(math_ops.range(9)), [1, 3, 3, 1])
76 x = array_ops.reshape(math_ops.to_float(math_ops.range(16)), [1, 4, 4, 1])
98 y1_expected = math_ops.to_float([[14, 28, 43, 26], [28, 48, 66, 37],
103 y2_expected = math_ops.to_float([[14, 43], [43, 84]])
110 y4_expected = math_ops.to_float([[48, 37], [37, 22]])
135 y1_expected = math_ops.to_float([[14, 28, 43, 58, 34],
143 y2_expected = math_ops.to_float([[14, 43, 34],
/external/skia/gm/
H A Dhsl.cpp139 auto to_float = [&](SkColor c) { local
151 SkColor4f d = to_float(dst),
152 s = to_float(src);
/external/skqp/gm/
H A Dhsl.cpp139 auto to_float = [&](SkColor c) { local
151 SkColor4f d = to_float(dst),
152 s = to_float(src);
/external/tensorflow/tensorflow/contrib/losses/python/metric_learning/
H A Dmetric_loss_ops.py74 pairwise_distances_squared + math_ops.to_float(error_mask) * 1e-16)
78 pairwise_distances, math_ops.to_float(math_ops.logical_not(error_mask)))
117 math_ops.to_float(labels) * math_ops.square(distances) +
118 (1. - math_ops.to_float(labels)) *
291 labels_remapped = math_ops.to_float(
325 sparse_dot_product = math_ops.to_float(
397 labels_remapped = math_ops.to_float(multilabel_adjacency_matrix)
612 return math_ops.to_float(
620 ami_score = math_ops.to_float(
629 ari_score = math_ops.to_float(
[all...]
/external/tensorflow/tensorflow/python/ops/
H A Dmetrics_impl.py316 values = math_ops.to_float(values)
322 num_values = math_ops.to_float(array_ops.size(values))
327 math_ops.to_float(weights), values)
406 is_correct = math_ops.to_float(math_ops.equal(predictions, labels))
477 predictions=math_ops.to_float(predictions),
512 math_ops.to_float(weights), predictions)
526 is_true_positive = math_ops.to_float(
538 is_false_negative = math_ops.to_float(
550 is_true_negative = math_ops.to_float(
562 is_false_positive = math_ops.to_float(
[all...]
H A Dspectral_grad.py139 input_size = math_ops.to_float(_FFTSizeForGrad(op.inputs[0], rank))
164 rsize = math_ops.reciprocal(math_ops.to_float(_FFTSizeForGrad(grad, rank)))
/external/tensorflow/tensorflow/contrib/gan/python/losses/python/
H A Dlosses_impl.py103 discriminator_gen_outputs = math_ops.to_float(discriminator_gen_outputs)
149 discriminator_real_outputs = math_ops.to_float(discriminator_real_outputs)
150 discriminator_gen_outputs = math_ops.to_float(discriminator_gen_outputs)
645 discriminator_gen_outputs = math_ops.to_float(discriminator_gen_outputs)
700 discriminator_real_outputs = math_ops.to_float(discriminator_real_outputs)
701 discriminator_gen_outputs = math_ops.to_float(discriminator_gen_outputs)
/external/tensorflow/tensorflow/contrib/kernel_methods/python/
H A Dlosses.py83 logits = math_ops.to_float(logits)
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
H A Dlogistic_regressor.py155 predictions_at_threshold = math_ops.to_float(
/external/tensorflow/tensorflow/python/kernel_tests/
H A Ddraw_bounding_box_op_test.py83 bboxes = math_ops.to_float(bboxes)
/external/mesa3d/src/amd/common/
H A Dac_nir_to_llvm.c291 static LLVMValueRef to_float(struct nir_to_llvm_context *ctx, LLVMValueRef v) function
735 src0 = to_float(ctx, src0);
736 src1 = to_float(ctx, src1);
748 to_float(ctx, src0),
758 to_float(ctx, src0),
759 to_float(ctx, src1),
769 to_float(ctx, src0),
770 to_float(ctx, src1),
771 to_float(ctx, src2),
891 LLVMValueRef fsrc0 = to_float(ct
[all...]
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/
H A Dsdca_optimizer.py124 array_ops.reshape(math_ops.to_float(sparse_values), [-1]))
215 example_labels=math_ops.to_float(
/external/tensorflow/tensorflow/python/estimator/canned/
H A Dhead.py320 weights = math_ops.to_float(weights, name='weights')
355 logits = math_ops.to_float(logits)
435 labels = math_ops.to_float(labels, name='labels')
477 predictions = math_ops.to_float(predictions, name='predictions')
485 predictions = math_ops.to_float(predictions, name='predictions')
497 threshold_predictions = math_ops.to_float(
1010 labels = math_ops.to_float(labels)
1248 labels = math_ops.to_float(labels)
1400 return math_ops.to_float(weights, name='weights')
/external/tensorflow/tensorflow/contrib/factorization/python/ops/
H A Dgmm_ops.py56 num_points = math_ops.to_float(array_ops.shape(x)[0])
300 self._probs[shard_id] = -0.5 * (diag_m + math_ops.to_float(self._dimensions)
324 math_ops.to_float(self._dimensions) * math_ops.log(2.0 * np.pi) +
404 num_examples = math_ops.to_float(math_ops.reduce_sum(final_points_in_k))

Completed in 631 milliseconds

123