/external/tensorflow/tensorflow/core/kernels/ |
D | parameterized_truncated_normal_op_test.cc | 34 means_t.flat<float>().setConstant(0.0); in PTruncatedNormal() 36 stdevs_t.flat<float>().setConstant(1.0); in PTruncatedNormal() 41 maxvals_t.flat<float>().setConstant(5.0); in PTruncatedNormal() 62 means_t.flat<float>().setConstant(0.0); in PTruncatedNormal2SD() 64 stdevs_t.flat<float>().setConstant(1.0); in PTruncatedNormal2SD() 66 minvals_t.flat<float>().setConstant(-2.0); in PTruncatedNormal2SD() 68 maxvals_t.flat<float>().setConstant(2.0); in PTruncatedNormal2SD() 89 means_t.flat<float>().setConstant(0.0); in PTruncatedNormalOneTail() 91 stdevs_t.flat<float>().setConstant(1.0); in PTruncatedNormalOneTail() 93 minvals_t.flat<float>().setConstant(2.0); in PTruncatedNormalOneTail() [all …]
|
D | clustering_ops_test.cc | 59 sample_size.flat<int64>().setConstant(num_to_sample); in SetUpKmeansPlusPlusInitialization() 60 seed.flat<int64>().setConstant(12345); in SetUpKmeansPlusPlusInitialization() 61 num_retries_per_sample.flat<int64>().setConstant(retries_per_sample); in SetUpKmeansPlusPlusInitialization() 124 seed.flat<int64>().setConstant(12345); in SetUpKMC2Initialization() 183 top.flat<int64>().setConstant(k); in SetUpNearestNeighbors()
|
D | sparse_to_dense_op_test.cc | 124 expected.flat<float>().setConstant(-2); in TEST_F() 146 expected.flat<float>().setConstant(-2); in TEST_F() 168 expected.flat<float>().setConstant(-2); in TEST_F() 190 expected.flat<float>().setConstant(-2); in TEST_F()
|
D | requantization_range_op.cc | 68 output_min->flat<float>().setConstant(used_min_float); in Compute() 69 output_max->flat<float>().setConstant(used_max_float); in Compute()
|
D | requantize.cc | 92 output_min->flat<float>().setConstant(requested_output_min_float); in Compute() 93 output_max->flat<float>().setConstant(requested_output_max_float); in Compute()
|
D | string_split_op_test.cc | 70 delim.flat<string>().setConstant(" "); in SetupStringSplitGraph() 101 sep.flat<string>().setConstant(" "); in SetupStringSplitV2Graph()
|
D | substr_op_test.cc | 139 position.flat<int32>().setConstant(pos); in SetupSubstrGraph() 141 length.flat<int32>().setConstant(len); in SetupSubstrGraph()
|
D | quantize_down_and_shrink_range.cc | 96 output_min->flat<float>().setConstant(actual_min_float); in Compute() 97 output_max->flat<float>().setConstant(actual_max_float); in Compute()
|
D | regex_replace_op_test.cc | 74 pattern.flat<string>().setConstant(input_pattern); in SetupRegexReplaceGraph() 76 rewrite.flat<string>().setConstant(input_rewrite); in SetupRegexReplaceGraph()
|
D | sparse_to_dense_op.cc | 114 sparse_values_b.vec<T>().setConstant(sparse_values.scalar<T>()()); in Compute() 131 output->flat<T>().setConstant(default_value.scalar<T>()()); in Compute()
|
D | serialize_sparse_op.cc | 211 serialized_sparse_t.template chip<1>(0).setConstant(serialized_indices); in Compute() 217 serialized_sparse_t.template chip<1>(1).setConstant(serialized_values); in Compute() 224 serialized_sparse_t.template chip<1>(2).setConstant(serialized_shape); in Compute()
|
D | sparse_dense_binary_op_shared_test.cc | 108 dense_flat.setConstant(1.); in TEST_F() 136 dense_flat.setConstant(1.); in TEST_F() 163 dense_flat.setConstant(1.); in TEST_F()
|
D | generate_vocab_remapping_op.cc | 122 default_token_vec.setConstant("" /* NOT_FOUND_TOKEN */); in Compute() 129 default_id_vec.setConstant(-1 /* NOT_FOUND_ID */); in Compute()
|
/external/eigen/test/ |
D | bandmatrix.cpp | 28 m.diagonal().setConstant(123); in bandmatrix() 29 dm1.diagonal().setConstant(123); in bandmatrix() 32 m.diagonal(i).setConstant(static_cast<RealScalar>(i)); in bandmatrix() 33 dm1.diagonal(i).setConstant(static_cast<RealScalar>(i)); in bandmatrix() 37 m.diagonal(-i).setConstant(-static_cast<RealScalar>(i)); in bandmatrix() 38 dm1.diagonal(-i).setConstant(-static_cast<RealScalar>(i)); in bandmatrix() 45 m.col(i).setConstant(static_cast<RealScalar>(i+1)); in bandmatrix() 46 dm1.col(i).setConstant(static_cast<RealScalar>(i+1)); in bandmatrix()
|
/external/skia/modules/particles/include/ |
D | SkCurve.h | 56 void setConstant(SkScalar c) { in setConstant() function 72 fSegments.push_back().setConstant(c); 103 void setConstant(SkColor4f c) { in setConstant() function 118 fSegments.push_back().setConstant(c);
|
/external/eigen/Eigen/src/Core/ |
D | CwiseNullaryOp.h | 317 setConstant(val); 325 EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived& DenseBase<Derived>::setConstant(const Scalar& val) 341 PlainObjectBase<Derived>::setConstant(Index size, const Scalar& val) 344 return setConstant(val); 360 PlainObjectBase<Derived>::setConstant(Index rows, Index cols, const Scalar& val) 363 return setConstant(val); 501 return setConstant(Scalar(0)); 518 return setConstant(Scalar(0)); 536 return setConstant(Scalar(0)); 627 return setConstant(Scalar(1)); [all …]
|
/external/eigen/bench/ |
D | vdw_new.cpp | 46 interactions1.setConstant(2.4); in main() 47 interactions2.setConstant(rab); in main()
|
/external/tensorflow/tensorflow/core/util/ctc/ |
D | ctc_loss_calculator.cc | 29 log_alpha->setConstant(kLogZero); in CalculateForwardVariables() 85 log_beta->setConstant(kLogZero); in CalculateBackwardVariables() 155 prob_sum.setConstant(kLogZero); in CalculateGradient()
|
/external/tensorflow/tensorflow/core/framework/ |
D | tensor_util_test.cc | 124 x.flat<int32>().setConstant(1); in TEST() 133 x.flat<int32>().setConstant(2); in TEST() 154 x.flat<string>().setConstant("hello"); in TEST() 163 x.flat<string>().setConstant("goodbye"); in TEST() 184 x.flat<Variant>().setConstant(Tensor(42.0f)); in TEST() 193 x.flat<Variant>().setConstant(Tensor("foo")); in TEST()
|
/external/eigen/Eigen/src/MetisSupport/ |
D | MetisSupport.h | 38 visited.setConstant(-1); in get_symmetrized_graph() 69 visited.setConstant(-1); in get_symmetrized_graph()
|
/external/eigen/unsupported/test/ |
D | NonLinearOptimization.cpp | 174 x.setConstant(n, 1.); in testLmder1() 203 x.setConstant(n, 1.); in testLmder() 288 x.setConstant(n, -1.); in testHybrj1() 320 x.setConstant(n, -1.); in testHybrj() 326 solver.diag.setConstant(n, 1.); in testHybrj() 377 x.setConstant(n, -1.); in testHybrd1() 404 x.setConstant(n, -1.); in testHybrd() 411 solver.diag.setConstant(n, 1.); in testHybrd() 479 x.setConstant(n, 1.); in testLmstr1() 508 x.setConstant(n, 1.); in testLmstr() [all …]
|
/external/eigen/doc/snippets/ |
D | Matrix_setConstant_int.cpp | 2 v.setConstant(3, 5);
|
D | Matrix_setConstant_int_int.cpp | 2 m.setConstant(3, 3, 5);
|
/external/eigen/Eigen/src/SparseLU/ |
D | SparseLU.h | 558 repfnz.setConstant(-1); in factorize() 559 panel_lsub.setConstant(-1); in factorize() 579 m_perm_r.indices().setConstant(-1); in factorize() 580 marker.setConstant(-1); in factorize() 583 m_glu.supno(0) = emptyIdxLU; m_glu.xsup.setConstant(0); in factorize()
|
/external/eigen/Eigen/src/SparseCore/ |
D | SparseColEtree.h | 74 firstRowElt.setConstant(nc); 189 first_kid.setConstant(-1); in treePostorder()
|