Home
last modified time | relevance | path

Searched defs:ShapeIndex (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dshape_tree_test.cc65 int_tree.ForEachElement([&num_nodes](const ShapeIndex& /*index*/, int data) { in TestShapeConstructor()
74 [&num_nodes](const ShapeIndex& /*index*/, bool data) { in TestShapeConstructor()
91 tree.ForEachElement([&num_nodes](const ShapeIndex& /*index*/, int data) { in TestInitValueConstructor()
99 [&num_nodes](const ShapeIndex& /*index*/, int* data) { in TestInitValueConstructor()
107 tree.ForEachElement([&num_nodes](const ShapeIndex& /*index*/, int data) { in TestInitValueConstructor()
164 [&sum](const ShapeIndex& /*index*/, int data) { sum += data; }); in TEST_F()
176 [](const ShapeIndex& /*index*/, int* data) { *data = 0; }); in TEST_F()
383 t.ForEachElement([&num_nodes](const ShapeIndex& /*index*/, int data) { in TEST_F()
Dshape_util.h70 ShapeIndex(std::initializer_list<int64> init) : indices_(init) {} in ShapeIndex() function
72 ShapeIndex(InputIt start, InputIt end) : indices_(start, end) {} in ShapeIndex() function
172 inline ShapeIndex::ShapeIndex(ShapeIndexView v) in ShapeIndex() function
Dliteral_util.cc51 &result_shape, [](Shape* subshape, const ShapeIndex&) { in ConvertType()
/external/tensorflow/tensorflow/compiler/xla/service/
Dwhile_loop_invariant_code_motion.cc223 const ShapeIndex& /*index*/) { in TryHoistingInvariantInstructionsFromWhileBody()
232 const ShapeIndex& /*index*/) { in TryHoistingInvariantInstructionsFromWhileBody()
Ddynamic_dimension_inference.cc962 DimensionConstraint constraint) { in HandleSlice()
1010 hlo, [&](HloInstruction* /*operand*/, ShapeIndex /*index*/, in HandleDynamicUpdateSlice() argument
1029 hlo, [&](HloInstruction* /*operand*/, ShapeIndex /*index*/, in HandleReverse() argument
1046 hlo, [&](HloInstruction* operand, ShapeIndex /*index*/, in HandleGather() argument
1048 HloInstruction* dynamic_size, DimensionConstraint constraint) { in HandleGather()
1112 DimensionConstraint constraint) { in HandleScatter()
1191 HloInstruction* dynamic_size, DimensionConstraint constraint) { in HandleWhile()
Dtuple_points_to_analysis.cc52 [&ambiguous](const ShapeIndex& /*index*/, const BufferList& points_to) { in IsAmbiguous()
61 ForEachElement([&](const ShapeIndex& /*index*/, const BufferList& points_to) { in IsDistinct()
81 [&flat_set](const ShapeIndex& /*index*/, const BufferList& buffers) { in CreateFlattenedSet()
99 const ShapeIndex& index) const { in ContainsBufferAtIndex() argument
Doptimize_input_output_buffer_alias_test.cc48 [&](const ShapeIndex&, const HloInputOutputAliasConfig::Alias&) { in AliasCount()
Dhlo_input_output_alias_config.cc129 [&](const xla::ShapeIndex&, absl::optional<Alias> alias) { in ParameterAliasKind()
Dwhile_loop_simplifier.cc604 subshape, [&](const Shape& s, const ShapeIndex& /*index*/) { in UnflattenTupleInstr()
666 [&](const Shape& s, const ShapeIndex& /*index*/) { in TryFlattenNestedTuples()
Dlayout_assignment.cc114 [&](const ShapeIndex&, const PointsToSet::BufferList& buffers) { in LayoutConstraints()
140 const PointsToSet::BufferList& buffers) { in GetBufferSet()
Dhlo_memory_scheduler.cc123 const PointsToSet::BufferList& buffers) { in ListScheduler()
Dhlo_cost_analysis.cc715 [&](const Shape& subshape, const ShapeIndex&) { in HandleAllReduce()
Dhlo_graph_dumper.cc1157 [&](const Shape& s, const ShapeIndex&) { in GetInstructionNodeExtraInfo()
Dhlo_verifier.cc1246 shape, [&contains_token](const Shape& subshape, const ShapeIndex&) { in ShapeContainsToken()
Dhlo_dataflow_analysis_test.cc2674 const ShapeIndex&) { in TEST_F()
/external/tensorflow/tensorflow/compiler/xla/python/
Dshared_device_buffer.cc88 [&](const Shape&, const ShapeIndex&) { consume_buffer(); }); in BufferFromScopedShapedBufferIterator()
136 on_device_shape, [&](const Shape& subshape, const ShapeIndex&) -> Status { in MakeArray()
Dxla.cc417 &out, [](Shape* subshape, const ShapeIndex&) { in PYBIND11_MODULE()
Dlocal_client.cc1066 shape, [&](Shape* subshape, const ShapeIndex&) { in Compile()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dliteral_test_util.cc55 const ShapeIndex& /*shape_index*/) { in OnMiscompare()
Dclient_library_test_base.cc332 &layout_shape, [&](Shape* subshape, const ShapeIndex& /*index*/) { in ComputeAndCompareLiteralWithStatus()
389 &layout_shape, [&](Shape* subshape, const ShapeIndex& /*index*/) { in ComputeAndCompareLiteralWithStatus()
624 [](Shape* subshape, const ShapeIndex&) { in MaybeConvertShapeToBfloat16()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_state.cc528 [&](const xla::ShapeIndex&, XRTBufferAllocationPtr* buffer) { in MakeTuple()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc266 const ShapeIndex& /*index*/) { in GetIndexTypeForKernel()