- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 421 for _xla (0.07 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc
for (mlir::BlockArgument& arg : block.getArguments()) { auto num = arg.getArgNumber(); xla::Shape shape = xla::TypeToShape(arg.getType()); xla::XlaOp argop = xla::Parameter(&builder, num, shape, absl::StrCat("Arg_", num)); xla_params.push_back(argop); } std::vector<xla::XlaOp> returns(1); TF_RETURN_IF_ERROR(BuildHloFromTf(module_op, builder, xla_params, returns,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc
#include "tensorflow/compiler/tf2xla/xla_compiler.h" #include "tensorflow/compiler/tf2xla/xla_helpers.h" #include "xla/client/compile_only_client.h" #include "xla/hlo/ir/hlo_input_output_alias_config.h" #include "xla/mlir_hlo/mhlo/IR/register.h" #include "xla/shape.h" #include "xla/shape_util.h" #include "xla/status_macros.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/framework/op.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.h
#include "mlir/Pass/Pass.h" // from @llvm-project #include "tensorflow/compiler/mlir/tf2xla/api/v2/device_type.pb.h" #include "tensorflow/compiler/tf2xla/xla_helpers.h" #include "xla/client/compile_only_client.h" #include "xla/pjrt/compile_options.pb.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/tpu/kernels/tpu_compile.pb.h" #include "tensorflow/core/tpu/kernels/tpu_compile_op_support.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 07:32:57 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-communication.mlir
}, { "mhlo.return"(%arg1) : (tensor<f32>) -> () }) : (tensor<i1>) -> tensor<f32> func.return } // ----- // Tests `mhlo.if` containing TF/XLA communication ops followed by other TF/XLA // communication ops. // CHECK-LABEL: func @if_followed_by_communication_op // CHECK-SAME: ([[ARG0:%.*]]: tensor<i1>, [[ARG1:%.*]]: tensor<f32>)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 08 18:24:20 UTC 2024 - 38.3K bytes - Viewed (0) -
tensorflow/compiler/aot/embedded_protocol_buffers.cc
#include "llvm/MC/TargetRegistry.h" #include "llvm/Target/TargetMachine.h" #include "llvm/Target/TargetOptions.h" #include "llvm/TargetParser/Triple.h" #include "xla/service/llvm_ir/llvm_type_conversion_util.h" #include "xla/util.h" namespace tensorflow { namespace tfcompile { using xla::llvm_ir::AsStringRef; static void AddEmbeddedProtocolBufferToLlvmModule( llvm::Module* module, const ::tensorflow::protobuf::MessageLite& proto,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:48:41 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/BUILD
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 20:53:17 UTC 2024 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.h
#include <optional> #include "mlir/IR/Diagnostics.h" // from @llvm-project #include "mlir/Support/LogicalResult.h" // from @llvm-project #include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h" #include "xla/xla.pb.h" #include "xla/xla_data.pb.h" #include "tensorflow/core/framework/tensor_shape.pb.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/protobuf/tpu/compile_metadata.pb.h" namespace mlir {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 12 04:22:33 UTC 2023 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_tensor_buffer_util_test.cc
std::vector<int32_t> data{1, 2, 3, 4, 5, 6}; xla::Shape xla_shape = xla::ShapeUtil::MakeShape(xla::S32, dimensions); TF_ASSERT_OK_AND_ASSIGN( auto pjrt_buffer, pjrt_client->BufferFromHostBuffer( data.data(), xla_shape.element_type(), xla_shape.dimensions(), /*byte_strides=*/std::nullopt, xla::PjRtClient::HostBufferSemantics::kImmutableOnlyDuringCall,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 14 18:14:47 UTC 2023 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/tf_xla_passes.td
def LegalizeTFCommunicationPass : Pass<"xla-legalize-tf-communication", "ModuleOp"> { let summary = "Legalize TF/XLA communication ops (TensorFlow dialect) to the HLO " "dialect"; let dependentDialects = ["mhlo::MhloDialect", "sparse_tensor::SparseTensorDialect"]; let constructor = "::mlir::mhlo::CreateLegalizeTFCommunicationPass()"; let description = [{ A pass that legalizes TF/XLA communication ops, propagates their respective
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 05:56:39 UTC 2023 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/infeed_ops_xla_adjust_layout.cc
#include "tensorflow/compiler/mlir/tensorflow/transforms/set_tpu_infeed_layout.h" #include "xla/layout.h" #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h" #include "xla/shape.h" #include "xla/stream_executor/tpu/c_api_conversions.h" #include "xla/stream_executor/tpu/tpu_api.h" #include "xla/translate/mhlo_to_hlo/type_to_shape.h" namespace mlir { namespace mhlo { namespace {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 2.7K bytes - Viewed (0)