Searched refs:shape_with_output_layout (Results 1 – 5 of 5) sorted by relevance
75 const Shape shape_with_output_layout( in CreateModuleConfig() local76 execution_options->shape_with_output_layout()); in CreateModuleConfig()78 ValidateResultShape(shape_with_output_layout, program_shape.result())); in CreateModuleConfig()81 shape_with_output_layout)); in CreateModuleConfig()
114 const Shape* shape_with_output_layout) { in ExecuteAndTransfer() argument116 if (shape_with_output_layout != nullptr) { in ExecuteAndTransfer()118 shape_with_output_layout->ToProto(); in ExecuteAndTransfer()126 const Shape* shape_with_output_layout) { in ExecuteAndTransfer() argument129 return ExecuteAndTransfer(computation, arguments, shape_with_output_layout); in ExecuteAndTransfer()134 const Shape* shape_with_output_layout) { in ExecuteAndTransferReference() argument136 if (shape_with_output_layout != nullptr) { in ExecuteAndTransferReference()138 shape_with_output_layout->ToProto(); in ExecuteAndTransferReference()
102 const Shape* shape_with_output_layout = nullptr);107 const Shape* shape_with_output_layout = nullptr);115 const Shape* shape_with_output_layout = nullptr);
174 absl::optional<Shape> shape_with_output_layout; in ExecuteAndTransfer() local176 shape_with_output_layout = in ExecuteAndTransfer()177 Shape(execution_options->shape_with_output_layout()); in ExecuteAndTransfer()179 return Transfer(*data, shape_with_output_layout.has_value() in ExecuteAndTransfer()180 ? &(*shape_with_output_layout) in ExecuteAndTransfer()
339 ShapeProto shape_with_output_layout = 2; field