Home
last modified time | relevance | path

Searched refs:ShapeIndexView (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/
Dshape_tree.h57 const Entry& operator[](ShapeIndexView index) const;
124 const T& element(ShapeIndexView index) const { return find(index)->second; } in element()
125 T* mutable_element(ShapeIndexView index) { return &find(index)->second; } in mutable_element()
145 bool IsLeaf(ShapeIndexView index) const { in IsLeaf()
203 iterator find(ShapeIndexView index) { in find()
206 const_iterator find(ShapeIndexView index) const { in find()
277 auto without_prefix = ShapeIndexView(index).subspan(src_index.size()); in CopySubtreeFrom()
301 auto without_prefix = ShapeIndexView(it->first).subspan(index.size()); in SubShapeTree()
Dshape_util.h55 using ShapeIndexView = absl::Span<const int64_t>; variable
77 explicit ShapeIndex(ShapeIndexView view) in ShapeIndex()
296 static void UpdateDynamicDimension(Shape* shape, ShapeIndexView index,
448 static bool IndexIsValid(const Shape& shape, ShapeIndexView index);
453 static const Shape& GetSubshape(const Shape& shape, ShapeIndexView index);
455 ShapeIndexView index);
456 static Shape* GetMutableSubshape(Shape* shape, ShapeIndexView index);
Dshape_layout.h85 void ResetLayout(const Layout& layout, ShapeIndexView shape_index);
Dshape_tree.cc44 const IndexTable::Entry& IndexTable::operator[](ShapeIndexView index) const { in operator []()
Dshape_layout.cc100 ShapeIndexView shape_index) { in ResetLayout()
Dshape_util.cc446 ShapeIndexView index, in UpdateDynamicDimension()
976 ShapeIndexView index) { in IndexIsValid()
988 ShapeIndexView index) { in GetSubshape()
999 const Shape& shape, ShapeIndexView index) { in TryGetSubshape()
1014 ShapeIndexView index) { in GetMutableSubshape()
Dliteral.h1098 Literal SubLiteral(ShapeIndexView shape_index);
Dliteral.cc511 Literal Literal::SubLiteral(ShapeIndexView shape_index) { in SubLiteral()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dhlo_to_ir_bindings.h44 ShapeIndexView shape_index = {});
64 ShapeIndexView shape_index = {}) const {
90 ShapeIndexView shape_index,
Dhlo_to_ir_bindings.cc142 ShapeIndexView shape_index, in GetTypedIrValue()
157 ShapeIndexView shape_index) { in BindHloToIrValue()
Dir_emitter.h121 ShapeIndexView shape_index = {}) const {
/external/tensorflow/tensorflow/compiler/xla/service/
Dmemory_space_propagation.h40 bool Propagate(ShapeIndexView index, const HloInstruction* callee_instruction,
Dmemory_space_propagation.cc64 bool MemorySpacePropagation::Propagate(ShapeIndexView index, in Propagate()
Ddynamic_dimension_inference.h79 ShapeIndexView index = {}) const;
Dshaped_buffer.h200 ScopedShapedBuffer TakeSubTree(ShapeIndexView index);
Dshaped_buffer.cc175 ScopedShapedBuffer ScopedShapedBuffer::TakeSubTree(ShapeIndexView index) { in TakeSubTree()
Dshaped_buffer_test.cc149 ShapeIndexView(index).first(subtree_index.size()) == subtree_index) { in TEST()
Dhlo_value.h287 ShapeIndexView input_index);
Dhlo_value.cc287 ShapeIndexView input_index) { in AssignUnionOf()
Dpattern_matcher.h935 ShapeIndexView index,
974 ShapeIndexView index_;
1092 ShapeIndexView index,
1104 WithSubshapeEqualTo(ShapeIndexView index, const ::xla::Shape* shape) const {
1117 WithSubshapeCompatibleTo(ShapeIndexView index,
Ddynamic_dimension_inference.cc249 ShapeIndex new_index(ShapeIndexView(index).subspan(1)); in HandleGetTupleElement()
2017 HloInstruction* inst, ShapeIndexView index) const { in HasDynamicDimension()
2024 if (ShapeIndexView(subindex).first(index.size()) != index) { in HasDynamicDimension()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dhlo_test_base.h318 ShapeIndexView shape_index) { in ForceResultLayout()
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dspmd_partitioner.cc3354 shard_shape, ShapeIndexView(index).subspan(1)); in HandleInfeed()
3789 per_branch_partitioned_shapes[i], ShapeIndexView(index)); in HandleOutfeed()