Home
last modified time | relevance | path

Searched refs:Initializer (Results 1 – 25 of 271) sorted by relevance

1234567891011

/external/tensorflow/tensorflow/tools/graph_transforms/
Dfold_old_batch_norms_test.cc49 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 …]
Dquantize_nodes_test.cc164 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 …]
Dfold_batch_norms_test.cc48 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 …]
Dinsert_logging_test.cc52 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()
Dfuse_convolutions_test.cc53 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()
Dtransform_utils_test.cc40 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 …]
Dfold_constants_test.cc55 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 …]
Dflatten_atrous_test.cc48 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()
Dfreeze_requantization_ranges_test.cc53 Input::Initializer(quantized_tensor)); in TestFreezeRequantizationRanges()
58 Input::Initializer(quantized_min_tensor)); in TestFreezeRequantizationRanges()
63 Input::Initializer(quantized_min_tensor)); in TestFreezeRequantizationRanges()
68 Const(root.WithOpName("offset_op"), Input::Initializer(offset_tensor)); in TestFreezeRequantizationRanges()
73 Input::Initializer(offset_min_tensor)); in TestFreezeRequantizationRanges()
78 Input::Initializer(offset_max_tensor)); in TestFreezeRequantizationRanges()
/external/tensorflow/tensorflow/core/profiler/internal/testdata/
Dgraph.pbtxt56 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/
DIceGlobalInits.h226 class Initializer {
227 Initializer(const Initializer &) = delete;
228 Initializer &operator=(const Initializer &) = delete;
243 explicit Initializer(InitializerKind Kind) : Kind(Kind) {} in Initializer() function
248 static_assert(std::is_trivially_destructible<Initializer>::value,
255 class DataInitializer : public Initializer {
272 static bool classof(const Initializer *D) { in classof()
279 : Initializer(DataInitializerKind), ContentsSize(Values.size()), in DataInitializer()
292 : Initializer(DataInitializerKind), ContentsSize(StrLen), in DataInitializer()
306 class ZeroInitializer : public Initializer {
[all …]
/external/tensorflow/tensorflow/stream_executor/platform/default/
Dinitialize.h26 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/
DTensorInitializer.h27 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/tensorflow/tensorflow/cc/ops/
Dconst_op.h29 Output Const(const Scope& scope, const Input::Initializer& val);
36 Output Const(const Scope& scope, const Input::Initializer& val) { in Const()
40 typedef typename Input::Initializer::RealType<T>::type DstT; in Const()
47 return Const(scope, Input::Initializer(t)); in Const()
68 return Const(scope, Input::Initializer(v, shape)); in Const()
74 return Const(scope, Input::Initializer(v, shape)); in Const()
/external/tensorflow/tensorflow/cc/framework/
Dops.h105 struct Initializer { struct
111 Initializer(const T& v) { // NOLINT(runtime/explicit) in Initializer() argument
118 Initializer(const Tensor& t) : tensor(t) {} // NOLINT(runtime/explicit) in Initializer() function
124 Initializer(const T& v, const TensorShape& shape) { in Initializer() argument
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/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DOptimalEdgeProfiling.cpp122 std::vector<Constant*> Initializer(NumEdges); in runOnModule() local
154 Initializer[i++] = (Zero); in runOnModule()
156 Initializer[i++] = (Uncounted); in runOnModule()
177 Initializer[i++] = (Zero); in runOnModule()
179 Initializer[i++] = (Uncounted); in runOnModule()
205 Initializer[i++] = (Zero); in runOnModule()
207 Initializer[i++] = (Uncounted); in runOnModule()
218 Constant *init = ConstantArray::get(ATy, Initializer); in runOnModule()
/external/tensorflow/tensorflow/core/common_runtime/
Dlower_if_op_test.cc123 feeds.emplace(Output(pred.node()), Input::Initializer(false)); in TEST()
124 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST()
132 feeds.emplace(Output(pred.node()), Input::Initializer(true)); in TEST()
133 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST()
230 feeds.emplace(Output(pred.node()), Input::Initializer(true)); in TEST()
231 feeds.emplace(Output(initial_val.node()), Input::Initializer(10)); in TEST()
240 feeds.emplace(Output(pred.node()), Input::Initializer(false)); in TEST()
241 feeds.emplace(Output(initial_val.node()), Input::Initializer(10)); in TEST()
312 feeds.emplace(Output(pred.node()), Input::Initializer(false)); in TEST()
313 feeds.emplace(Output(a.node()), Input::Initializer(10)); in TEST()
[all …]
Dlower_if_while_test.cc171 feeds.emplace(Output(counter.node()), Input::Initializer(0)); in TEST()
172 feeds.emplace(Output(pred.node()), Input::Initializer(true)); in TEST()
173 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST()
181 feeds.emplace(Output(counter.node()), Input::Initializer(0)); in TEST()
182 feeds.emplace(Output(pred.node()), Input::Initializer(false)); in TEST()
183 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST()
298 feeds.emplace(Output(pred.node()), Input::Initializer(true)); in TEST()
299 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST()
307 feeds.emplace(Output(pred.node()), Input::Initializer(false)); in TEST()
308 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST()
Dlower_while_op_test.cc132 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST()
140 feeds.emplace(Output(a.node()), Input::Initializer(3)); in TEST()
223 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST()
224 feeds.emplace(Output(b.node()), Input::Initializer(1)); in TEST()
234 feeds.emplace(Output(a.node()), Input::Initializer(3)); in TEST()
235 feeds.emplace(Output(b.node()), Input::Initializer(5)); in TEST()
303 feeds.emplace(Output(a.node()), Input::Initializer(1)); in TEST()
311 feeds.emplace(Output(a.node()), Input::Initializer(3)); in TEST()
/external/libchrome/base/memory/
Dprotected_memory.h133 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
Dprotected_memory_unittest.cc37 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()
/external/tensorflow/tensorflow/python/ops/
Dinit_ops_v2.py47 class Initializer(object): class
93 class Zeros(Initializer):
102 class Ones(Initializer):
123 class Constant(Initializer):
219 class RandomUniform(Initializer):
264 class RandomNormal(Initializer):
306 class TruncatedNormal(Initializer):
353 class VarianceScaling(Initializer):
445 class Orthogonal(Initializer):
515 class Identity(Initializer):
/external/tensorflow/tensorflow/core/kernels/
Dremote_fused_graph_execute_op_test_utils.cc61 Output a_const = ops::Const(root.WithOpName("A"), Input::Initializer(a_data)); in BuildMultipleAddGraph()
65 Output b_const = ops::Const(root.WithOpName("B"), Input::Initializer(b_data)); in BuildMultipleAddGraph()
69 Output c_const = ops::Const(root.WithOpName("C"), Input::Initializer(c_data)); in BuildMultipleAddGraph()
73 Output d_const = ops::Const(root.WithOpName("D"), Input::Initializer(d_data)); in BuildMultipleAddGraph()
77 Output e_const = ops::Const(root.WithOpName("E"), Input::Initializer(e_data)); in BuildMultipleAddGraph()
/external/clang/include/clang/AST/
DDeclOpenMP.h108 Expr *Initializer; variable
120 Initializer(nullptr), PrevDeclInScope(PrevDeclInScope) {} in OMPDeclareReductionDecl()
143 Expr *getInitializer() { return Initializer; } in getInitializer()
144 const Expr *getInitializer() const { return Initializer; } in getInitializer()
146 void setInitializer(Expr *E) { Initializer = E; } in setInitializer()
/external/compiler-rt/lib/profile/
DInstrProfiling.h26 #define INSTR_PROF_DATA(Type, LLVMType, Name, Initializer) Type Name; argument
31 #define INSTR_PROF_RAW_HEADER(Type, Name, Initializer) Type Name; argument
37 #define INSTR_PROF_VALUE_NODE(Type, LLVMType, Name, Initializer) Type Name; argument

1234567891011