Home
last modified time | relevance | path

Searched refs:init_values (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dwhile_util.cc206 HloComputation* computation, const WhileUtil::LoopStateTy& init_values) { in MakeInitTupleFromInitValues() argument
208 init_values_with_indvar.reserve(init_values.size() + 1); in MakeInitTupleFromInitValues()
212 absl::c_copy(init_values, std::back_inserter(init_values_with_indvar)); in MakeInitTupleFromInitValues()
217 static Shape MakeLoopStateShape(const WhileUtil::LoopStateTy& init_values) { in MakeLoopStateShape() argument
219 loop_state_shape_components.reserve(init_values.size() + 1); in MakeLoopStateShape()
221 absl::c_transform(init_values, in MakeLoopStateShape()
229 const WhileUtil::LoopStateTy& init_values, in MakeCountedLoop() argument
234 Shape loop_state_shape = MakeLoopStateShape(init_values); in MakeCountedLoop()
242 MakeInitTupleFromInitValues(computation, init_values)); in MakeCountedLoop()
251 for (int64 i = 0, e = init_values.size(); i < e; i++) { in MakeCountedLoop()
Dwhile_util.h81 const LoopStateTy& init_values,
Dhlo_instruction.cc246 auto init_values = in CreateFromProto() local
250 CreateReduce(shape, inputs, init_values, in CreateFromProto()
1043 absl::Span<HloInstruction* const> init_values, in CreateReduce() argument
1049 all_args.insert(all_args.end(), init_values.begin(), init_values.end()); in CreateReduce()
Dhlo_instruction.h625 absl::Span<HloInstruction* const> init_values,
Dshape_inference.cc2080 auto init_values = arg_shapes.subspan(num_reduced_args, arg_shapes.size()); in InferReduceShape() local
2085 TF_RETURN_IF_ERROR(VerifyReducerShape(to_apply, init_values, element_types, in InferReduceShape()
Dhlo_instructions.h474 absl::Span<HloInstruction* const> init_values() const { in init_values() function
Dalgebraic_simplifier.cc2916 auto init_value = reduce->init_values()[0]; in HandleReduce()
2930 reduce->init_values()[i], {}))); in HandleReduce()
Dhlo_evaluator_typed_visitor.h1711 &parent_->GetEvaluatedLiteralFor(reduce->init_values()[i]); in HandleReduce()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dvector_support_library.cc339 std::vector<llvm::Value*> vectors, llvm::Value* init_values) { in ComputeHorizontalSums() argument
344 return ComputeAvxOptimizedHorizontalSums(std::move(vectors), init_values); in ComputeHorizontalSums()
350 if (init_values) { in ComputeHorizontalSums()
353 b()->CreateExtractElement(init_values, b()->getInt32(i))); in ComputeHorizontalSums()
361 std::vector<llvm::Value*> vectors, llvm::Value* init_values) { in ComputeAvxOptimizedHorizontalSums() argument
376 if (init_values) { in ComputeAvxOptimizedHorizontalSums()
377 low = AddInternal(ExtractLowHalf(init_values), low); in ComputeAvxOptimizedHorizontalSums()
381 if (init_values) { in ComputeAvxOptimizedHorizontalSums()
382 high = AddInternal(ExtractHighHalf(init_values), high); in ComputeAvxOptimizedHorizontalSums()
Dvector_support_library.h219 std::vector<llvm::Value*> vectors, llvm::Value* init_values = nullptr);
267 std::vector<llvm::Value*> vectors, llvm::Value* init_values);
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dimage_ops.cc513 std::vector<xla::XlaOp> init_values; in Compile() local
514 init_values.reserve(4); in Compile()
515 init_values.push_back(xla::ConstantR0<int32>(builder, 0)); // col_idx in Compile()
516 init_values.push_back(xla::ConstantR0<int32>(builder, 0)); // num_outputs in Compile()
517 init_values.push_back(iou_thresh_mask); in Compile()
518 init_values.push_back(included_iou); in Compile()
522 SuppressBodyFn(num_boxes), init_values, in Compile()
/external/tensorflow/tensorflow/python/autograph/operators/
Dcontrol_flow.py277 init_values = get_state()
279 set_state(init_values)
/external/antlr/runtime/Ruby/lib/antlr3/
Dprofile.rb109 init_values = Array.new( self.class.members.length, 0 )
110 super( *init_values )
/external/tensorflow/tensorflow/core/framework/
Dtensor_test.cc1311 std::vector<T> init_values) { in MkTensor() argument
1316 x.flat<T>()(i) = init_values[vi++]; in MkTensor()
1317 if (vi >= init_values.size()) vi = 0; in MkTensor()
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dpfor.py434 init_values = [True, pfor_input.pfor.all_indices] + inputs + output_tas
441 return init_values, inputs_stacked, shape_invariants
584 init_values, inputs_stacked, shape_invariants = self._create_init_values(
644 cond, body, init_values, shape_invariants=shape_invariants)
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.h445 absl::Span<const XlaOp> init_values,
866 absl::Span<const XlaOp> init_values,
1538 absl::Span<const XlaOp> init_values,
Dxla_builder.cc1947 absl::Span<const XlaOp> init_values, in Reduce() argument
1958 all_operands.insert(all_operands.end(), init_values.begin(), in Reduce()
1959 init_values.end()); in Reduce()
3198 absl::Span<const XlaOp> init_values, in Reduce() argument
3201 return builder->Reduce(operands, init_values, computation, in Reduce()
/external/tensorflow/tensorflow/compiler/xla/g3doc/
Doperation_semantics.md1664 <b> `Reduce(operands..., init_values..., computation, dimensions)` </b>
1669 | `init_values` | Sequence of N `XlaOp` | N scalars of types `T_0, ..., T_N`. |