Home
last modified time | relevance | path

Searched refs:operand_shapes_with_layout (Results 1 – 17 of 17) sorted by relevance

/aosp_15_r20/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
H A Dlight_outside_compilation.cc103 std::vector<xla::Shape> operand_shapes_with_layout; in CompileToCustomCallCallingTfKernel() local
132 operand_shapes_with_layout.push_back(xla_shape); in CompileToCustomCallCallingTfKernel()
133 xla::LayoutUtil::SetToDefaultLayout(&operand_shapes_with_layout.back()); in CompileToCustomCallCallingTfKernel()
219 /*operand_shapes_with_layout=*/operand_shapes_with_layout, in CompileToCustomCallCallingTfKernel()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/python/
H A Dops.cc176 absl::Span<const Shape> operand_shapes_with_layout, in BuildOpsSubmodule()
182 operand_shapes_with_layout, opaque, has_side_effect, in BuildOpsSubmodule()
195 absl::Span<const Shape> operand_shapes_with_layout, in BuildOpsSubmodule() argument
203 operand_shapes_with_layout, opaque, has_side_effect, in BuildOpsSubmodule()
H A Dxla_client_test.py381 operand_shapes_with_layout=[
406 operand_shapes_with_layout=[
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/client/
H A Dxla_builder.cc1968 std::optional<absl::Span<const Shape>> operand_shapes_with_layout, in CustomCall() argument
1982 if (operand_shapes_with_layout.has_value()) { in CustomCall()
1988 if (operands.size() != operand_shapes_with_layout->size()) { in CustomCall()
1992 operand_shapes_with_layout->size(), operands.size()); in CustomCall()
1995 for (const Shape& operand_shape : *operand_shapes_with_layout) { in CustomCall()
2007 operand_shapes_with_layout, has_side_effect, output_operand_aliasing, in CustomCall()
2016 std::optional<absl::Span<const Shape>> operand_shapes_with_layout, in CustomCallInternal() argument
2039 if (operand_shapes_with_layout.has_value()) { in CustomCallInternal()
2041 for (const Shape& operand_shape : *operand_shapes_with_layout) { in CustomCallInternal()
2077 std::optional<absl::Span<const Shape>> operand_shapes_with_layout, in CustomCall() argument
[all …]
H A Dxla_builder.h659 std::optional<absl::Span<const Shape>> operand_shapes_with_layout,
674 std::optional<absl::Span<const Shape>> operand_shapes_with_layout,
688 std::optional<absl::Span<const Shape>> operand_shapes_with_layout,
1278 absl::Span<const Shape> operand_shapes_with_layout,
1287 absl::Span<const Shape> operand_shapes_with_layout,
2161 absl::Span<const Shape> operand_shapes_with_layout,
2178 absl::Span<const Shape> operand_shapes_with_layout,
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/xla/ir/
H A Dmlir_hlo_builder.cc146 std::optional<absl::Span<const Shape>> operand_shapes_with_layout, in CustomCallInternal() argument
169 if (operand_shapes_with_layout.has_value()) { in CustomCallInternal()
172 operand_shapes_with_layout.value(), &builder_)); in CustomCallInternal()
H A Dmlir_hlo_builder.h145 std::optional<absl::Span<const Shape>> operand_shapes_with_layout,
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/python/xla_extension/
H A Dops.pyi187 operand_shapes_with_layout: Sequence[Shape],
197 operand_shapes_with_layout: Sequence[Shape],
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/
H A Dhlo_instruction.cc724 const auto& operand_shapes_with_layout = in CreateFromProto() local
725 proto.operand_shapes_with_layout(); in CreateFromProto()
726 operand_shapes.reserve(operand_shapes_with_layout.size()); in CreateFromProto()
727 for (const ShapeProto& shape_proto : operand_shapes_with_layout) { in CreateFromProto()
1908 absl::Span<const Shape> operand_shapes_with_layout, std::string opaque, in CreateCustomCall() argument
1912 operand_shapes_with_layout, api_version); in CreateCustomCall()
H A Dhlo.proto263 // 'operand_shapes_with_layout' must contain a shape with layout for each
266 repeated xla.ShapeProto operand_shapes_with_layout = 57; field
H A Dhlo_instructions.cc2696 absl::Span<const Shape> operand_shapes_with_layout, in HloCustomCallInstruction() argument
2704 operand_shapes_with_layout_(operand_shapes_with_layout.begin(), in HloCustomCallInstruction()
2705 operand_shapes_with_layout.end()), in HloCustomCallInstruction()
2911 cloned->operand_shapes_with_layout_ = operand_shapes_with_layout(); in CloneWithNewOperandsImpl()
H A Dhlo_instructions.h1806 absl::Span<const Shape> operand_shapes_with_layout,
1890 const std::vector<Shape>& operand_shapes_with_layout() const { in operand_shapes_with_layout() function
H A Dhlo_verifier.cc1172 custom_call->operand_shapes_with_layout().size()); in HandleCustomCall()
1175 custom_call->operand_shapes_with_layout()[i]; in HandleCustomCall()
H A Dlayout_assignment.cc634 custom_call->operand_shapes_with_layout()[i], custom_call, i)); in AddMandatoryConstraints()
851 custom_call->operand_shapes_with_layout()[i])); in CheckCustomCallLayout()
H A Dhlo_instruction.h1137 absl::Span<const Shape> operand_shapes_with_layout,
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/xla/
H A Dmlir_hlo_to_hlo.cc1132 auto operand_shapes_with_layout = ConvertTypesToShapesWithLayout( in ExportXlaOp() local
1138 result_shape_with_layout, operand_shapes_with_layout, in ExportXlaOp()
H A Dhlo_function_importer.cc632 ExtractLayoutsFromShapes(custom_call->operand_shapes_with_layout(), in ImportInstructionImpl()