- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 80 for HLO (0.03 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td
// This is the legalization pattern definition file for HLO to TF. include "mlir/IR/OpBase.td" include "mlir/Dialect/Func/IR/FuncOps.td" include "stablehlo/dialect/ChloOps.td" include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td" include "mhlo/IR/hlo_ops.td" // Check if broadcasting is compatible with TF ops. def IsLegalNumpyRankedBroadcast :
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 03 08:58:22 UTC 2024 - 34K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compile_on_demand_op.cc
#include "tensorflow/compiler/tf2xla/xla_compiler.h" #include "tensorflow/compiler/tf2xla/xla_helpers.h" #include "xla/client/local_client.h" #include "xla/executable_run_options.h" #include "xla/hlo/ir/hlo_input_output_alias_config.h" #include "xla/pjrt/pjrt_client.h" #include "xla/pjrt/tf_pjrt_client.h" #include "xla/service/executable.h" #include "xla/service/gpu/gpu_executable_run_options.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 08:39:39 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_platform_info.cc
// have `xla_device_metadata`. This is used for TFRT-TPU when // BuildXlaDeviceCompiler() is called in GetCompilerIr(). Currently only // lowering to HLO is needed there and xla::LocalClient doesn't support // building the executable for TFRT-TPU and hence, is set to nullptr here. if (platform_info.device_type() == DEVICE_TPU) { *xla_device_compiler = CreateXlaDeviceCompiler(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 17:23:27 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/converter_python_api.cc
// Convert model. if (enable_mlir_converter) { if (model_flags.use_hlo_import() && model_flags.has_saved_model_dir()) { PyErr_SetString(PyExc_ValueError, "Cannot specify both saved_model and hlo import."); return nullptr; } if (model_flags.use_hlo_import()) { status = tensorflow::ConvertJaxToTFLiteFlatBuffer( input_contents_txt, model_flags, toco_flags,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 19.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/BUILD
"@llvm-project//mlir:Support", "@local_xla//xla:status_macros", "@local_xla//xla:xla_data_proto_cc", "@local_xla//xla/client:sharding_builder", "@local_xla//xla/hlo/ir:hlo", "@local_xla//xla/service:hlo_parser", ], ) cc_library( name = "location_utils", srcs = ["utils/location_utils.cc"], hdrs = ["utils/location_utils.h"], deps = [
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 47.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
limitations under the License. ==============================================================================*/ // This file implements logic for lowering TensorFlow dialect's communication // ops (TF/XLA) to the HLO dialect. #include <atomic> #include <cstddef> #include <cstdint> #include <memory> #include <optional> #include <string> #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/STLExtras.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
tensorflow/compiler/jit/device_executable_persistor_test.cc
Env::Default(), GetFilePath(key2, persistor.persistent_cache_directory()), entry)); MockXlaCompilerClient mock_client; // Try to load executable corresponding to key2 (whose file contains HLO // corresponding to key1). auto loaded_executable = persistor.TryToLoadExecutable( /*signature_hash=*/123, "signature", DefaultXlaOptions(), compilation_result_mul, &mock_client);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 25.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.cc
TypeID::get<TF::ConstOp>(), // AssertOp with string types are not supported by the fallback. TypeID::get<TF::AssertOp>(), // TF2XLA fallback pattern doesn't support these op as MLIR hlo builder // doesn't override the necessary builder methods. These ops have simple // lowering pattern so this should be safe. TypeID::get<TF::CrossReplicaSumOp>(), TypeID::get<TF::InfeedDequeueTupleOp>(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 21.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc
AddCanonicalizationPatterns(module.getContext(), &patterns); // `supported_ops` contains the name of all of the ops that can potentially be // lowered into HLO on the device. This doesn't always mean that the op can // be lowered in the future passes but if the op is not in this set, it can't // be lowered in a subsequent pass. llvm::DenseSet<OperationName> supported_ops;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/tfl_legalize_hlo.mlir
// COM: This file is there to check that the `tfl-legalize-hlo` pass exists in `odml-to-stablehlo-opt`. // RUN: odml-to-stablehlo-opt %s -tfl-legalize-hlo -split-input-file | FileCheck %s --dump-input=fail func.func @main(%arg0: tensor<5x7xf32>) -> tensor<5x7xf32> { func.return %arg0: tensor<5x7xf32> // CHECK-LABEL: main // CHECK: return %arg0 : tensor<5x7xf32> } // - transpose //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 40.1K bytes - Viewed (0)