/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/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/kernels/ |
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() 123 seed.flat<int64>().setConstant(12345); in SetUpKMC2Initialization() 180 top.flat<int64>().setConstant(k); in SetUpNearestNeighbors()
|
D | sparse_to_dense_op_test.cc | 126 expected.flat<float>().setConstant(-2); in TEST_F() 148 expected.flat<float>().setConstant(-2); in TEST_F() 170 expected.flat<float>().setConstant(-2); in TEST_F() 192 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 | string_split_op_test.cc | 70 delim.flat<tstring>().setConstant(" "); in SetupStringSplitGraph() 101 sep.flat<tstring>().setConstant(" "); in SetupStringSplitV2Graph()
|
D | requantize.cc | 91 output_min->flat<float>().setConstant(requested_output_min_float); in Compute() 92 output_max->flat<float>().setConstant(requested_output_max_float); in Compute()
|
D | substr_op_test.cc | 139 position.flat<int32>().setConstant(pos); in SetupSubstrGraph() 141 length.flat<int32>().setConstant(len); in SetupSubstrGraph()
|
D | regex_replace_op_test.cc | 74 pattern.flat<tstring>().setConstant(input_pattern); in SetupRegexReplaceGraph() 76 rewrite.flat<tstring>().setConstant(input_rewrite); in SetupRegexReplaceGraph()
|
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 | random_binomial_op_test.cc | 34 counts_t.flat<float>().setConstant(count); in RandomBinomialGraph() 36 probs_t.flat<float>().setConstant(prob); in RandomBinomialGraph()
|
D | generate_vocab_remapping_op.cc | 124 default_token_vec.setConstant("" /* NOT_FOUND_TOKEN */); in Compute() 131 default_id_vec.setConstant(-1 /* NOT_FOUND_ID */); in Compute()
|
D | sparse_to_dense_op.cc | 122 sparse_values_b_holder->vec<T>().setConstant(sparse_values.scalar<T>()()); in Compute() 139 output->flat<T>().setConstant(default_value.scalar<T>()()); in Compute()
|
D | sparse_dense_binary_op_shared_test.cc | 109 dense_flat.setConstant(1.); in TEST_F() 137 dense_flat.setConstant(1.); in TEST_F() 164 dense_flat.setConstant(1.); in TEST_F()
|
D | quantized_instance_norm_test.cc | 138 input = input.setConstant(0); in TestZeroInput() 147 input = input.setConstant(255); in TestMaxInput()
|
D | fractional_max_pool_op.cc | 132 output_tensor->flat<T>().setConstant(Eigen::NumTraits<T>::lowest()); in Compute() 269 tensor_out_arg_max.flat<int64>().setConstant(kInvalidMaxPoolingIndex); in Compute() 271 tensor_out_dup.flat<T>().setConstant(Eigen::NumTraits<T>::lowest()); in Compute()
|
/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/doc/snippets/ |
D | Matrix_setConstant_int_int.cpp | 2 m.setConstant(3, 3, 5);
|
D | Matrix_setConstant_int.cpp | 2 v.setConstant(3, 5);
|
/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<tstring>().setConstant("hello"); in TEST() 163 x.flat<tstring>().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/SparseCore/ |
D | SparseColEtree.h | 74 firstRowElt.setConstant(nc); 189 first_kid.setConstant(-1); in treePostorder()
|
/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/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()
|
D | SparseLU_relax_snode.h | 52 relax_end.setConstant(emptyIdxLU); in relax_snode()
|