/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | fold_old_batch_norms_test.cc | 49 Const(root.WithOpName("input_op"), Input::Initializer(input_data)); in TestFoldOldBatchNorms() 55 Const(root.WithOpName("weights_op"), Input::Initializer(weights_data)); in TestFoldOldBatchNorms() 63 Const(root.WithOpName("mean_op"), Input::Initializer(mean_data)); in TestFoldOldBatchNorms() 68 Input::Initializer(variance_data)); in TestFoldOldBatchNorms() 73 Const(root.WithOpName("beta_op"), Input::Initializer(beta_data)); in TestFoldOldBatchNorms() 78 Const(root.WithOpName("gamma_op"), Input::Initializer(gamma_data)); in TestFoldOldBatchNorms() 133 Const(root.WithOpName("input_op"), Input::Initializer(input_data)); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative() 139 Const(root.WithOpName("weights_op"), Input::Initializer(weights_data)); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative() 147 Const(root.WithOpName("mean_op"), Input::Initializer(mean_data)); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative() 152 Input::Initializer(variance_data)); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative() [all …]
|
D | quantize_nodes_test.cc | 164 return Const(root.WithOpName(name), Input::Initializer(tensor)); in TestIgnoreOps() 215 Output a_op = Const(root.WithOpName("a_op"), Input::Initializer(a_tensor)); in TestQuantizeMatMul() 219 Output b_op = Const(root.WithOpName("b_op"), Input::Initializer(b_tensor)); in TestQuantizeMatMul() 266 Output x = Const(root.WithOpName("x"), Input::Initializer(x_float_tensor)); in TestQuantizeMul() 270 Output y = Const(root.WithOpName("y"), Input::Initializer(y_float_tensor)); in TestQuantizeMul() 301 Output x = Const(root.WithOpName("x"), Input::Initializer(x_float_tensor)); in TestQuantizeAdd() 305 Output y = Const(root.WithOpName("y"), Input::Initializer(y_float_tensor)); in TestQuantizeAdd() 327 Const(root.WithOpName("input_op"), Input::Initializer(input_tensor)); in TestQuantizeConv2D() 333 Const(root.WithOpName("filter_op"), Input::Initializer(filter_tensor)); in TestQuantizeConv2D() 351 Const(root.WithOpName("input_op"), Input::Initializer(input_tensor)); in TestQuantizeBiasAdd() [all …]
|
D | fold_batch_norms_test.cc | 48 Const(root.WithOpName("input_op"), Input::Initializer(input_data)); in TestFoldBatchNormsConv2D() 54 Const(root.WithOpName("weights_op"), Input::Initializer(weights_data)); in TestFoldBatchNormsConv2D() 62 Input::Initializer(mul_values_data)); in TestFoldBatchNormsConv2D() 99 Const(root.WithOpName("input_op"), Input::Initializer(input_data)); in TestFoldBatchNormsDepthwiseConv2dNative() 105 Const(root.WithOpName("weights_op"), Input::Initializer(weights_data)); in TestFoldBatchNormsDepthwiseConv2dNative() 113 Input::Initializer(mul_values_data)); in TestFoldBatchNormsDepthwiseConv2dNative() 150 Const(root.WithOpName("input_op"), Input::Initializer(input_data)); in TestFoldBatchNormsConv2DShared() 156 Const(root.WithOpName("weights_op"), Input::Initializer(weights_data)); in TestFoldBatchNormsConv2DShared() 164 Input::Initializer(mul_values_data)); in TestFoldBatchNormsConv2DShared() 171 Input::Initializer(mul_values_data)); in TestFoldBatchNormsConv2DShared() [all …]
|
D | insert_logging_test.cc | 52 Const(root.WithOpName("const_node1"), Input::Initializer(const_tensor)); in TestInsertLogging() 54 Const(root.WithOpName("const_node2"), Input::Initializer(const_tensor)); in TestInsertLogging() 56 Const(root.WithOpName("const_node3"), Input::Initializer(const_tensor)); in TestInsertLogging() 99 Const(root.WithOpName("const_node1"), Input::Initializer(const_tensor)); in TestInsertLoggingByOpType() 101 Const(root.WithOpName("const_node2"), Input::Initializer(const_tensor)); in TestInsertLoggingByOpType() 103 Const(root.WithOpName("const_node3"), Input::Initializer(const_tensor)); in TestInsertLoggingByOpType() 148 Const(root.WithOpName("const_node1"), Input::Initializer(const_tensor)); in TestInsertLoggingByPrefix() 150 Const(root.WithOpName("const_node2"), Input::Initializer(const_tensor)); in TestInsertLoggingByPrefix() 152 Const(root.WithOpName("const_node3"), Input::Initializer(const_tensor)); in TestInsertLoggingByPrefix()
|
D | fuse_convolutions_test.cc | 53 Const(root.WithOpName("input_op"), Input::Initializer(input_data)); in TestFuseResizePadAndConv() 62 Input::Initializer(pad_dims_data)); in TestFuseResizePadAndConv() 70 Const(root.WithOpName("weights_op"), Input::Initializer(weights_data)); in TestFuseResizePadAndConv() 110 Const(root.WithOpName("input_op"), Input::Initializer(input_data)); in TestFuseResizeAndConv() 120 Const(root.WithOpName("weights_op"), Input::Initializer(weights_data)); in TestFuseResizeAndConv() 159 Const(root.WithOpName("input_op"), Input::Initializer(input_data)); in TestFusePadAndConv() 164 Input::Initializer(pad_dims_data)); in TestFusePadAndConv() 172 Const(root.WithOpName("weights_op"), Input::Initializer(weights_data)); in TestFusePadAndConv()
|
D | flatten_atrous_test.cc | 48 Const(root.WithOpName("input_op"), Input::Initializer(input_data)); in TestFlattenAtrousConv() 53 Input::Initializer(block_shape_data)); in TestFlattenAtrousConv() 58 Input::Initializer(paddings_data)); in TestFlattenAtrousConv() 68 Const(root.WithOpName("weights_op"), Input::Initializer(weights_data)); in TestFlattenAtrousConv() 76 Const(root.WithOpName("crops_op"), Input::Initializer(crops_data)); in TestFlattenAtrousConv()
|
D | transform_utils_test.cc | 40 Output a_const = Const(root.WithOpName("a"), Input::Initializer(a_data)); in TestMapNamesToNodes() 44 Output b_const = Const(root.WithOpName("b"), Input::Initializer(b_data)); in TestMapNamesToNodes() 73 Output a_const = Const(root.WithOpName("a"), Input::Initializer(a_data)); in TestMapNodesToOutputs() 77 Output b_const = Const(root.WithOpName("b"), Input::Initializer(b_data)); in TestMapNodesToOutputs() 227 Output a_const = Const(root.WithOpName("a"), Input::Initializer(a_data)); in TestFilterGraphDef() 231 Output b_const = Const(root.WithOpName("b"), Input::Initializer(b_data)); in TestFilterGraphDef() 287 Output a_const = Const(root.WithOpName("a"), Input::Initializer(a_data)); in TestGetOpTypeMatches() 291 Output b_const = Const(root.WithOpName("b"), Input::Initializer(b_data)); in TestGetOpTypeMatches() 384 Output a_const = Const(root.WithOpName("a"), Input::Initializer(a_data)); in TestGetOpTypeMatchesDAG() 417 Output a_const = Const(root.WithOpName("a"), Input::Initializer(a_data)); in TestReplaceMatchingOpTypes() [all …]
|
D | fold_constants_test.cc | 55 Const(root.WithOpName("a_expect_removed"), Input::Initializer(a_data)); in TestSimpleAdd() 60 Const(root.WithOpName("b_expect_removed"), Input::Initializer(b_data)); in TestSimpleAdd() 92 Const(root.WithOpName("a_expect_remains"), Input::Initializer(a_data)); in TestOpExclusionAdd() 97 Const(root.WithOpName("b_expect_remains"), Input::Initializer(b_data)); in TestOpExclusionAdd() 125 Input::Initializer({1, 1, 1}, TensorShape({1, 1, 3}))); in TestShapePropagation() 232 Const(o_root.WithOpName("a_const"), Input::Initializer(a_const_data)); in TestReplaceSendRecvs() 241 Const(n_root.WithOpName("a_const"), Input::Initializer(a_const_data)); in TestReplaceSendRecvs() 302 Output a_const = Const(root.WithOpName("a"), Input::Initializer(a_data)); in TestRemoveUnusedNodes() 306 Output b_const = Const(root.WithOpName("b"), Input::Initializer(b_data)); in TestRemoveUnusedNodes() 315 Const(root.WithOpName("unused"), Input::Initializer(unused_data)); in TestRemoveUnusedNodes() [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | lower_case_op_test.cc | 136 feeds.emplace(Output(branch_index.node()), Input::Initializer(-1)); in TEST() 137 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST() 145 feeds.emplace(Output(branch_index.node()), Input::Initializer(0)); in TEST() 146 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST() 154 feeds.emplace(Output(branch_index.node()), Input::Initializer(1)); in TEST() 155 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST() 163 feeds.emplace(Output(branch_index.node()), Input::Initializer(2)); in TEST() 164 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST() 172 feeds.emplace(Output(branch_index.node()), Input::Initializer(20)); in TEST() 173 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST() [all …]
|
D | lower_if_op_test.cc | 132 feeds.emplace(Output(pred.node()), Input::Initializer(false)); in TEST() 133 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST() 141 feeds.emplace(Output(pred.node()), Input::Initializer(true)); in TEST() 142 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST() 239 feeds.emplace(Output(pred.node()), Input::Initializer(true)); in TEST() 240 feeds.emplace(Output(initial_val.node()), Input::Initializer(10)); in TEST() 249 feeds.emplace(Output(pred.node()), Input::Initializer(false)); in TEST() 250 feeds.emplace(Output(initial_val.node()), Input::Initializer(10)); in TEST() 322 feeds.emplace(Output(pred.node()), Input::Initializer(false)); in TEST() 323 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST() [all …]
|
D | lower_functional_ops_test.cc | 183 feeds.emplace(Output(counter.node()), Input::Initializer(0)); in TEST() 184 feeds.emplace(Output(pred.node()), Input::Initializer(true)); in TEST() 185 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST() 193 feeds.emplace(Output(counter.node()), Input::Initializer(0)); in TEST() 194 feeds.emplace(Output(pred.node()), Input::Initializer(false)); in TEST() 195 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST() 310 feeds.emplace(Output(pred.node()), Input::Initializer(true)); in TEST() 311 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST() 319 feeds.emplace(Output(pred.node()), Input::Initializer(false)); in TEST() 320 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST()
|
/external/tensorflow/tensorflow/core/profiler/internal/testdata/ |
D | graph.pbtxt | 56 name: "ScalarW/Initializer/random_normal/shape" 97 name: "ScalarW/Initializer/random_normal/mean" 135 name: "ScalarW/Initializer/random_normal/stddev" 173 name: "ScalarW/Initializer/random_normal/RandomStandardNormal" 175 input: "ScalarW/Initializer/random_normal/shape" 219 name: "ScalarW/Initializer/random_normal/mul" 221 input: "ScalarW/Initializer/random_normal/RandomStandardNormal" 222 input: "ScalarW/Initializer/random_normal/stddev" 248 name: "ScalarW/Initializer/random_normal" 250 input: "ScalarW/Initializer/random_normal/mul" [all …]
|
/external/swiftshader/third_party/subzero/src/ |
D | IceGlobalInits.h | 183 class Initializer { 184 Initializer(const Initializer &) = delete; 185 Initializer &operator=(const Initializer &) = delete; 200 explicit Initializer(InitializerKind Kind) : Kind(Kind) {} in Initializer() function 205 static_assert(std::is_trivially_destructible<Initializer>::value, 212 class DataInitializer : public Initializer { 229 static bool classof(const Initializer *D) { in classof() 236 : Initializer(DataInitializerKind), ContentsSize(Values.size()), in DataInitializer() 249 : Initializer(DataInitializerKind), ContentsSize(StrLen), in DataInitializer() 263 class ZeroInitializer : public Initializer { [all …]
|
/external/tensorflow/tensorflow/stream_executor/platform/default/ |
D | initialize.h | 26 class Initializer { 29 explicit Initializer(InitializerFunc func) { func(); } in Initializer() function 32 Dependency(const char *n, Initializer *i) : name(n), initializer(i) {} in Dependency() 34 Initializer *const initializer; 39 Initializer *initializer, 49 ::stream_executor::port::Initializer google_initializer_##type##_##name( \ 56 extern ::stream_executor::port::Initializer google_initializer_##type##_##name
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorInitializer.h | 27 struct Initializer { struct 29 typename Initializer<Derived, N - 1>::InitList> InitList; argument 37 Initializer<Derived, N - 1>::run(tensor, indices, v); in run() argument 43 struct Initializer<Derived, 1> { 59 struct Initializer<Derived, 0> { 72 … const typename Initializer<Derived, traits<Derived>::NumDimensions>::InitList& vals) { 74 Initializer<Derived, traits<Derived>::NumDimensions>::run(tensor, &indices, vals);
|
/external/javassist/src/main/javassist/ |
D | CtField.java | 142 Initializer getInit() { in getInit() 146 return Initializer.byExpr(tree); in getInit() 506 public static abstract class Initializer { class in CtField 511 public static Initializer constant(int i) { in constant() 519 public static Initializer constant(boolean b) { in constant() 527 public static Initializer constant(long l) { in constant() 535 public static Initializer constant(float l) { in constant() 543 public static Initializer constant(double d) { in constant() 551 public static Initializer constant(String s) { in constant() 569 public static Initializer byParameter(int nth) { in byParameter() [all …]
|
/external/tensorflow/tensorflow/cc/ops/ |
D | const_op.h | 31 Output Const(const Scope& scope, const Input::Initializer& val); 38 Output Const(const Scope& scope, const Input::Initializer& val) { in Const() 42 typedef typename Input::Initializer::RealType<T>::type DstT; in Const() 49 return Const(scope, Input::Initializer(t)); in Const() 70 return Const(scope, Input::Initializer(v, shape)); in Const() 76 return Const(scope, Input::Initializer(v, shape)); in Const()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | ops.h | 105 struct Initializer { struct 111 Initializer(const T& v) { // NOLINT(runtime/explicit) in Initializer() function 118 Initializer(const Tensor& t) : tensor(t) {} // NOLINT(runtime/explicit) in Initializer() function 124 Initializer(const T& v, const TensorShape& shape) { in Initializer() function 137 Initializer( in Initializer() argument 150 Initializer(const std::initializer_list<T>& v, const TensorShape& shape) { in Initializer() function 168 Initializer(const std::initializer_list<Initializer>& v); 210 : Input(Initializer(v)) {} 212 Input(const Initializer& init) // NOLINT(runtime/explicit) 220 Input(const std::initializer_list<Initializer>& [all …]
|
/external/llvm-project/clang-tools-extra/clang-reorder-fields/ |
D | ReorderFieldsAction.cpp | 100 findMembersUsedInInitExpr(const CXXCtorInitializer *Initializer, in findMembersUsedInInitExpr() argument 111 *Initializer->getInit(), Context); in findMembersUsedInInitExpr() 179 for (const auto *Initializer : CtorDecl->inits()) { in reorderFieldsInConstructor() local 180 if (!Initializer->isMemberInitializer() || !Initializer->isWritten()) in reorderFieldsInConstructor() 184 const FieldDecl *ThisM = Initializer->getMember(); in reorderFieldsInConstructor() 185 const auto UsedMembers = findMembersUsedInInitExpr(Initializer, Context); in reorderFieldsInConstructor() 196 DiagEngine.Report(Initializer->getSourceLocation(), ID); in reorderFieldsInConstructor() 200 OldWrittenInitializersOrder.push_back(Initializer); in reorderFieldsInConstructor() 201 NewWrittenInitializersOrder.push_back(Initializer); in reorderFieldsInConstructor()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | xla_cluster_util_test.cc | 43 Output a = ops::Const(root.WithOpName("a"), Input::Initializer(0.0)); in TEST() 59 Output a = ops::Const(root.WithOpName("a"), Input::Initializer(0.0)); in TEST() 79 Output a = ops::Const(root.WithOpName("a"), Input::Initializer(0.0)); in TEST() 105 Output a = ops::Const(root.WithOpName("a"), Input::Initializer(0.0)); in TEST() 117 Output a = ops::Const(root.WithOpName("a"), Input::Initializer(0.0)); in TEST() 129 Output a = ops::Const(root.WithOpName("a"), Input::Initializer(0.0)); in TEST() 175 ops::Const(s.WithOpName("constant_ref"), Input::Initializer(0.0)); in CreateSubgraphTouchingRefVar() 181 ops::Const(s.WithOpName("constant_normal"), Input::Initializer(0.0)); in CreateSubgraphNotTouchingRefVar() 192 ops::Const(s.WithOpName("constant_ref_pco"), Input::Initializer(0.0)); in CreateSubgraphCallingFunctionWithRefVar() 202 ops::Const(s.WithOpName("constant_normal_pco"), Input::Initializer(0.0)); in CreateSubgraphCallingFunctionWithoutRefVar() [all …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | MoveConstructorInitCheck.cpp | 45 const auto *Initializer = in check() local 50 QualType QT = Initializer->getInit()->getType(); in check() 81 diag(Initializer->getSourceLocation(), in check() 83 << (Initializer->isBaseInitializer() ? "base class" : "class member"); in check()
|
/external/llvm-project/clang/include/clang/Tooling/Refactoring/ |
D | RecursiveSymbolVisitor.h | 48 for (const auto *Initializer : CD->inits()) { in VisitCXXConstructorDecl() local 50 if (!Initializer->isWritten()) in VisitCXXConstructorDecl() 52 if (const FieldDecl *FD = Initializer->getMember()) { in VisitCXXConstructorDecl() 53 if (!visit(FD, Initializer->getSourceLocation(), in VisitCXXConstructorDecl() 54 Lexer::getLocForEndOfToken(Initializer->getSourceLocation(), in VisitCXXConstructorDecl()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | conv_ops_test.cc | 196 Const(root.WithOpName("input"), Input::Initializer(input_data)); in CompareFusedAndSeparate() 203 Const(root.WithOpName("filter"), Input::Initializer(filter_data)); in CompareFusedAndSeparate() 257 Const(root.WithOpName("input"), Input::Initializer(input_data)); in CompareFusedPadOnlyAndSeparate() 264 Const(root.WithOpName("filter"), Input::Initializer(filter_data)); in CompareFusedPadOnlyAndSeparate() 621 ops::Const(root.WithOpName("input"), Input::Initializer(input_data)), in RunConv2DWithBias() 622 ops::Const(root.WithOpName("filter"), Input::Initializer(filter_data)), in RunConv2DWithBias() 628 ops::Const(root.WithOpName("bias"), Input::Initializer(bias_data))); in RunConv2DWithBias() 642 ops::Const(root.WithOpName("input"), Input::Initializer(input_data)), in RunConv2DWithBiasAndActivation() 643 ops::Const(root.WithOpName("filter"), Input::Initializer(filter_data)), in RunConv2DWithBiasAndActivation() 649 ops::Const(root.WithOpName("bias"), Input::Initializer(bias_data))); in RunConv2DWithBiasAndActivation() [all …]
|
/external/libchrome/base/memory/ |
D | protected_memory.h | 133 class Initializer { 137 Initializer(ProtectedMemory<T>* PM, const T& Init); 139 DISALLOW_IMPLICIT_CONSTRUCTORS(Initializer); 268 ProtectedMemory<T>::Initializer::Initializer(ProtectedMemory<T>* PM, in Initializer() function
|
D | protected_memory_unittest.cc | 37 TEST_F(ProtectedMemoryTest, Initializer) { in TEST_F() argument 38 static ProtectedMemory<int>::Initializer I(&init, 4); in TEST_F() 99 static ProtectedMemory<BadIcall>::Initializer I( in TEST_F() 113 static ProtectedMemory<int (*)(int)>::Initializer I( in TEST_F()
|