Home
last modified time | relevance | path

Searched refs:init_value (Results 1 – 25 of 85) sorted by relevance

1234

/external/tensorflow/tensorflow/compiler/xla/service/
Dwhile_loop_invariant_code_motion_test.cc84 auto* init_value = builder.AddInstruction( in TEST_F() local
88 init_value)); in TEST_F()
143 auto* init_value = builder.AddInstruction( in TEST_F() local
147 init_value)); in TEST_F()
197 auto* init_value = builder.AddInstruction( in TEST_F() local
201 init_value)); in TEST_F()
237 auto* init_value = builder.AddInstruction( in TEST_F() local
241 init_value)); in TEST_F()
280 auto* init_value = builder.AddInstruction( in TEST_F() local
284 init_value)); in TEST_F()
[all …]
Dwhile_loop_constant_sinking.cc54 const HloInstruction& init_value = *while_instr->operand(0); in TrySinkingConstantsIntoWhileLoop() local
55 if (init_value.opcode() != HloOpcode::kTuple) { in TrySinkingConstantsIntoWhileLoop()
69 const HloInstruction& invariant_value = *init_value.operand(index); in TrySinkingConstantsIntoWhileLoop()
Dcall_inliner_test.cc102 HloInstruction* init_value = outer.AddInstruction( in TEST_F() local
105 HloInstruction::CreateWhile(pred, call_false, call_false, init_value)); in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/
Dshape_tree.h113 ShapeTree(Shape shape, const T& init_value);
114 ShapeTree(const Shape* shape, const T& init_value);
115 ShapeTree(const std::shared_ptr<Shape>& shape, const T& init_value);
299 void InitChildren(const Shape& shape, const T& init_value, Node* node,
408 void ShapeTree<T>::InitChildren(const Shape& shape, const T& init_value, in InitChildren() argument
433 nodes_.emplace_back(shape_index, init_value); in InitChildren()
434 InitChildren(shape.tuple_shapes(i), init_value, &nodes_.back(), in InitChildren()
517 ShapeTree<T>::ShapeTree(Shape shape, const T& init_value) in ShapeTree() argument
522 nodes_.emplace_back(ShapeIndex{}, init_value); in ShapeTree()
526 InitChildren(*shape_, init_value, &nodes_[0], &index_table_[0]); in ShapeTree()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_descriptor.cpp710 int64_t init_value = 0; in FindNumberOfIterations() local
711 if (!GetInductionInitValue(induction, &init_value)) return false; in FindNumberOfIterations()
715 init_value, step_value); in FindNumberOfIterations()
732 *init_value_out = init_value; in FindNumberOfIterations()
743 int64_t init_value, int64_t step_value) const { in GetIterations() argument
750 if (!(init_value < condition_value)) return 0; in GetIterations()
752 diff = condition_value - init_value; in GetIterations()
766 if (!(init_value > condition_value)) return 0; in GetIterations()
768 diff = init_value - condition_value; in GetIterations()
783 if (!(init_value >= condition_value)) return 0; in GetIterations()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_descriptor.cpp710 int64_t init_value = 0; in FindNumberOfIterations() local
711 if (!GetInductionInitValue(induction, &init_value)) return false; in FindNumberOfIterations()
715 init_value, step_value); in FindNumberOfIterations()
732 *init_value_out = init_value; in FindNumberOfIterations()
743 int64_t init_value, int64_t step_value) const { in GetIterations() argument
750 if (!(init_value < condition_value)) return 0; in GetIterations()
752 diff = condition_value - init_value; in GetIterations()
766 if (!(init_value > condition_value)) return 0; in GetIterations()
768 diff = init_value - condition_value; in GetIterations()
783 if (!(init_value >= condition_value)) return 0; in GetIterations()
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dpooling.cc73 XlaOp ComputeSums(XlaOp operand, XlaOp init_value, in ComputeSums() argument
80 TF_ASSIGN_OR_RETURN(Shape init_shape, b->GetShape(init_value)); in ComputeSums()
83 return ReduceWindow(operand, init_value, add_computation, kernel_size, in ComputeSums()
141 auto init_value = MinValue(b, dtype); in MaxPool() local
142 return ReduceWindow(operand, init_value, max_computation, kernel_size, in MaxPool()
156 auto init_value = Zero(b, dtype); in AvgPool() local
164 auto pooled = ComputeSums(padded_operand, init_value, kernel_size, stride, in AvgPool()
Darithmetic.cc132 XlaOp init_value; in ArgMinMax() local
135 init_value = MaxValue(builder, input_shape.element_type()); in ArgMinMax()
138 init_value = MinValue(builder, input_shape.element_type()); in ArgMinMax()
142 XlaOp input_max = Reduce(input, init_value, reducer, in ArgMinMax()
/external/adhd/cras/src/server/
Dcras_dsp_ini.c126 p->init_value = 0; in parse_ports()
129 float init_value = strtof(str, &endptr); in parse_ports() local
137 p->init_value = init_value; in parse_ports()
208 p->init_value = 0; in add_audio_port()
481 port->init_value); in cras_dsp_ini_dump()
Dcras_dsp_ini.h40 float init_value; member
/external/v8/src/compiler/
Dloop-variable-optimizer.h26 Node* init_value() const { return init_value_; } in init_value() function
46 Node* init_value, Zone* zone, ArithmeticType arithmeticType) in InductionVariable() argument
51 init_value_(init_value), in InductionVariable()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dreduce_window_test.cc111 const auto init_value = in TEST_P() local
114 ReduceWindow(input, init_value, in TEST_P()
631 auto init_value = in DoIt() local
640 /*init_value=*/init_value, in DoIt()
1033 auto init_value = in TEST_P() local
1041 /*init_value=*/init_value, in TEST_P()
1176 auto init_value = in DoIt() local
1180 /*init_value=*/init_value, in DoIt()
1369 auto init_value = in TEST_P() local
1373 /*init_value=*/init_value, in TEST_P()
Dreduce_test.cc126 XlaOp init_value; in RunR1ToR0PredTest() local
129 init_value = ConstantR0<bool>(&builder, true); in RunR1ToR0PredTest()
132 init_value = ConstantR0<bool>(&builder, false); in RunR1ToR0PredTest()
135 Reduce(pred_values, init_value, reduce, in RunR1ToR0PredTest()
164 XlaOp init_value; in RunR2ToR1PredTest() local
167 init_value = ConstantR0<bool>(&builder, true); in RunR2ToR1PredTest()
170 init_value = ConstantR0<bool>(&builder, false); in RunR2ToR1PredTest()
174 Reduce(input_pred, init_value, reduce_op, in RunR2ToR1PredTest()
/external/tensorflow/tensorflow/python/training/
Dserver_lib_test.py253 init_value = array_ops.placeholder(dtypes.int32)
254 v = variables.VariableV1(init_value, validate_shape=False, name="v")
272 sharing_sess_0.run(v.initializer, feed_dict={init_value: 86})
281 sharing_sess_1.run(v.initializer, feed_dict={init_value: [86, 99]})
291 isolate_sess_0.run(v.initializer, feed_dict={init_value: 37})
299 isolate_sess_1.run(v.initializer, feed_dict={init_value: [19, 86]})
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.h440 XlaOp Reduce(const XlaOp& operand, const XlaOp& init_value,
449 XlaOp ReduceAll(const XlaOp& operand, const XlaOp& init_value,
452 XlaOp ReduceWindow(const XlaOp& operand, const XlaOp& init_value,
458 const XlaOp& operand, const XlaOp& init_value,
488 const XlaOp& init_value,
496 const XlaOp& init_value, const XlaComputation& scatter);
862 friend XlaOp Reduce(const XlaOp& operand, const XlaOp& init_value,
869 friend XlaOp ReduceAll(const XlaOp& operand, const XlaOp& init_value,
871 friend XlaOp ReduceWindow(const XlaOp& operand, const XlaOp& init_value,
877 const XlaOp& operand, const XlaOp& init_value,
[all …]
Dxla_builder.cc1938 XlaOp XlaBuilder::Reduce(const XlaOp& operand, const XlaOp& init_value, in Reduce() argument
1942 absl::Span<const XlaOp>({init_value}), computation, in Reduce()
1983 XlaOp XlaBuilder::ReduceAll(const XlaOp& operand, const XlaOp& init_value, in ReduceAll() argument
1989 return Reduce(operand, init_value, computation, all_dimnos); in ReduceAll()
1993 XlaOp XlaBuilder::ReduceWindow(const XlaOp& operand, const XlaOp& init_value, in ReduceWindow() argument
2010 operand, init_value, computation, window_dimensions, window_strides, in ReduceWindow()
2016 const XlaOp& operand, const XlaOp& init_value, in ReduceWindowWithGeneralPadding() argument
2027 TF_ASSIGN_OR_RETURN(const Shape& init_shape, GetShape(init_value)); in ReduceWindowWithGeneralPadding()
2041 {operand, init_value}); in ReduceWindowWithGeneralPadding()
2249 const XlaOp& init_value, in SelectAndScatter() argument
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client_test.py1438 init_value=c.Constant(NumpyArrayF32(1)),
1450 init_value=c.Constant(NumpyArrayF64(1)),
1458 init_value=c.ConstantF32Scalar(0),
1467 init_value=c.ConstantF64Scalar(0),
1477 init_value=c.ConstantF32Scalar(0),
1487 init_value=c.ConstantF64Scalar(0),
1497 init_value=c.ConstantF32Scalar(0),
1507 init_value=c.ConstantF64Scalar(0),
1519 init_value=c.ConstantF32Scalar(0),
1538 init_value=c.ConstantF64Scalar(0),
[all …]
Dxla_client.py1283 padding, source, init_value, scatter): argument
1307 source, init_value, scatter.computation)
1457 def Reduce(self, operand, init_value, computation_to_apply, dimensions): argument
1469 return self._client.Reduce(operand, init_value,
1472 def ReduceWindow(self, operand, init_value, computation_to_apply, argument
1491 operand, init_value, computation_to_apply.computation,
1495 self, operand, init_value, computation_to_apply, window_dimensions, argument
1513 operand, init_value, computation_to_apply.computation,
/external/llvm/test/CodeGen/PowerPC/
Dctrloop-fp64.ll29 @init_value = global double 1.000000e+00, align 8
34 %0 = load double, double* @init_value, align 8
/external/tensorflow/tensorflow/contrib/copy_graph/python/util/
Dcopy_elements.py87 init_value = temp_session.run(org_instance.initialized_value())
92 init_value,
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/PowerPC/
Dctrloop-fp64.ll29 @init_value = global double 1.000000e+00, align 8
34 %0 = load double, double* @init_value, align 8
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dpooling_ops.cc334 xla::XlaOp init_value = XlaHelpers::Zero(ctx->builder(), input_type(2)); in Compile() local
339 out_backprop, init_value, scatter); in Compile()
573 auto init_value = xla::MinValue(b, xla::F32); in Compile() local
601 init_value, reduce, ksize_, stride_, xla_padding); in Compile()
604 init_value, reduce, ksize_, stride_, xla_padding); in Compile()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Delemental_ir_emitter.cc366 TF_ASSIGN_OR_RETURN(llvm::Value * init_value, in MakeElementGenerator()
369 Store(init_value, accum_ptr); in MakeElementGenerator()
450 TF_ASSIGN_OR_RETURN(llvm::Value * init_value, in MakeElementGenerator()
453 b()->CreateStore(init_value, accum_ptr); in MakeElementGenerator()
/external/pcre/dist2/src/sljit/
DsljitNativePPC_64.c471 …IT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 reg, sljit_sw init_value) in emit_const() argument
473 FAIL_IF(push_inst(compiler, ADDIS | D(reg) | A(0) | IMM(init_value >> 48))); in emit_const()
474 FAIL_IF(push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value >> 32))); in emit_const()
476 FAIL_IF(push_inst(compiler, ORIS | S(reg) | A(reg) | IMM(init_value >> 16))); in emit_const()
477 return push_inst(compiler, ORI | S(reg) | A(reg) | IMM(init_value)); in emit_const()
DsljitNativeSPARC_32.c260 …IT_INLINE sljit_s32 emit_const(struct sljit_compiler *compiler, sljit_s32 dst, sljit_sw init_value) in emit_const() argument
262 FAIL_IF(push_inst(compiler, SETHI | D(dst) | ((init_value >> 10) & 0x3fffff), DR(dst))); in emit_const()
263 return push_inst(compiler, OR | D(dst) | S1(dst) | IMM_ARG | (init_value & 0x3ff), DR(dst)); in emit_const()

1234