Home
last modified time | relevance | path

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

12

/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.h71 ShapeIndex(std::initializer_list<int64> init) : indices_(init) {} in ShapeIndex() function
73 ShapeIndex(InputIt start, InputIt end) : indices_(start, end) {} in ShapeIndex() function
177 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.cc235 const ShapeIndex& /*index*/) { in TryHoistingInvariantInstructionsFromWhileBody()
244 const ShapeIndex& /*index*/) { in TryHoistingInvariantInstructionsFromWhileBody()
Dtuple_points_to_analysis.cc54 [&ambiguous](const ShapeIndex& /*index*/, const BufferList& points_to) { in IsAmbiguous()
63 ForEachElement([&](const ShapeIndex& /*index*/, const BufferList& points_to) { in IsDistinct()
83 [&flat_set](const ShapeIndex& /*index*/, const BufferList& buffers) { in CreateFlattenedSet()
101 const ShapeIndex& index) const { in ContainsBufferAtIndex() argument
Doptimize_input_output_buffer_alias_test.cc48 [&](const ShapeIndex&, const HloInputOutputAliasConfig::Alias&) { in AliasCount()
Ddynamic_dimension_inference.cc1170 hlo, [&](HloInstruction*, ShapeIndex /*index*/, int64_t dimension, in HandleDynamicSlice() argument
1194 [&](HloInstruction* /*operand*/, ShapeIndex /*index*/, int64_t dimension, in HandleDynamicUpdateSlice() argument
1195 int64_t operand_index, HloInstruction* dynamic_size) { in HandleDynamicUpdateSlice()
1230 HloInstruction* dynamic_size) { in HandleGather()
1320 HloInstruction* dynamic_size) -> Status { in HandleConditional()
1487 int64_t operand_index, HloInstruction* operand_dynamic_size) { in HandleScatter()
Dwhile_loop_expensive_invariant_code_motion.cc283 const ShapeIndex& /*index*/) { in TryHoistingInvariantInstructionsFromWhileBody()
Dhlo_input_output_alias_config.cc128 [&](const xla::ShapeIndex&, absl::optional<Alias> alias) { in ParameterMustAlias()
Dwhile_loop_simplifier.cc853 subshape, [&](const Shape& s, const ShapeIndex& /*index*/) { in UnflattenTupleInstr()
915 [&](const Shape& s, const ShapeIndex& /*index*/) { in TryFlattenNestedTuples()
Dhlo_memory_scheduler.cc124 const PointsToSet::BufferList& buffers) { in ListScheduler()
Dlayout_assignment.cc118 [&](const ShapeIndex&, const PointsToSet::BufferList& buffers) { in LayoutConstraints()
144 const PointsToSet::BufferList& buffers) { in GetBufferSet()
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dtracked_device_buffer_test.cc35 [&](const Shape& subshape, const ShapeIndex&) -> Status { in MakeArray()
Dtracked_device_buffer.cc109 shaped_buffer->on_device_shape(), [&](const Shape&, const ShapeIndex&) { in FromScopedShapedBuffer()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_executable_info.proto39 message ShapeIndex { message
/external/tensorflow/tensorflow/compiler/xla/tests/
Dliteral_test_util.cc53 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()
622 [](Shape* subshape, const ShapeIndex&) { in MaybeConvertShapeToBfloat16()
/external/tensorflow/tensorflow/compiler/xla/tools/
Drun_hlo_module.cc83 const ShapeIndex& /*shape_index*/) { in OnMiscompare()
/external/tensorflow/tensorflow/compiler/xla/python/
Dops.cc181 CustomCallApiVersion api_version) -> XlaOp { in BuildOpsSubmodule()
Dxla.cc147 &shape_with_layout, [](Shape* subshape, const ShapeIndex&) { in PYBIND11_MODULE()
Doutfeed_receiver.cc431 &shape_with_layout, [](Shape* subshape, const ShapeIndex&) { in AddOutfeedToBuilder()
Dxla_client.py288 ShapeIndex = _xla.ShapeIndex variable
Dxla_compiler.cc288 &out, [](Shape* subshape, const ShapeIndex&) { in BuildXlaCompilerSubmodule()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_state.cc528 [&](const xla::ShapeIndex&, XRTBufferAllocationPtr* buffer) { in MakeTuple()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_compiler.cc648 const ShapeIndex&) { in DummyCanShareBufferFunction()

12