Home
last modified time | relevance | path

Searched refs:shape_layout (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Dlayout_assignment.h94 OperandLayoutConstraint(const ShapeLayout& shape_layout,
98 const ShapeLayout& shape_layout() const { return shape_layout_; } in shape_layout() function
116 explicit ResultLayoutConstraint(const ShapeLayout& shape_layout,
119 shape_layout_(shape_layout) {} in LayoutConstraint()
121 const ShapeLayout& shape_layout() const { return shape_layout_; } in shape_layout() function
354 Status PropagateUseConstraintToDefs(const ShapeLayout& shape_layout,
Dcomputation_layout.h46 void add_parameter_layout(ShapeLayout shape_layout) { in add_parameter_layout() argument
47 parameter_layouts_.push_back(std::move(shape_layout)); in add_parameter_layout()
Dlayout_assignment.cc78 const ShapeLayout& shape_layout, const HloInstruction* instruction, in OperandLayoutConstraint() argument
81 shape_layout_(shape_layout), in OperandLayoutConstraint()
85 CHECK(ShapeUtil::Compatible(shape_layout.shape(), in OperandLayoutConstraint()
87 << shape_layout.shape() << " is not compatible with " in OperandLayoutConstraint()
209 if (curr_shape_layout->shape_layout().MatchesLayoutInShape( in SetOperandLayout()
219 curr_shape_layout->shape_layout().ToString(), in SetOperandLayout()
339 return &constraint->shape_layout(); in OperandLayout()
351 return result_constraint_ ? &result_constraint_->shape_layout() : nullptr; in ResultLayout()
1195 const ShapeLayout& shape_layout, const HloInstruction* instruction, in PropagateUseConstraintToDefs() argument
1202 [&shape_layout, constraints]( in PropagateUseConstraintToDefs()
[all …]
Dlayout_assignment_test.cc109 const ShapeLayout shape_layout(shape); in TEST_F() local
112 *computation_layout.mutable_parameter_layout(0) = shape_layout; in TEST_F()
113 *computation_layout.mutable_parameter_layout(1) = shape_layout; in TEST_F()
114 *computation_layout.mutable_result_layout() = shape_layout; in TEST_F()
191 const ShapeLayout shape_layout(shape); in TEST_F() local
194 *computation_layout.mutable_result_layout() = shape_layout; in TEST_F()
DBUILD742 "//tensorflow/compiler/xla:shape_layout",
778 "//tensorflow/compiler/xla:shape_layout",
2609 "//tensorflow/compiler/xla:shape_layout",
2847 "//tensorflow/compiler/xla:shape_layout",
3231 "//tensorflow/compiler/xla:shape_layout",
3246 "//tensorflow/compiler/xla:shape_layout",
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_layout_assignment.cc286 layout_constraint.shape_layout().shape(), instruction)); in PropagateOperandConstraint()
301 layout_constraint.shape_layout().layout(), *out_buf)); in PropagateOperandConstraint()
316 layout_constraint.shape_layout().layout(), *out_buf)); in PropagateOperandConstraint()
320 layout_constraint.shape_layout().shape(), instruction, operand_to_set)); in PropagateOperandConstraint()
DBUILD677 "//tensorflow/compiler/xla:shape_layout",
963 "//tensorflow/compiler/xla:shape_layout",
/external/tensorflow/tensorflow/compiler/xla/
DBUILD714 name = "shape_layout",
715 srcs = ["shape_layout.cc"],
716 hdrs = ["shape_layout.h"],
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
DBUILD812 "//tensorflow/compiler/xla:shape_layout",
907 "//tensorflow/compiler/xla:shape_layout",
/external/tensorflow/tensorflow/compiler/xla/tests/
DBUILD119 "//tensorflow/compiler/xla:shape_layout",