Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 104 for HLO (0.03 sec)

  1. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      pass_manager.addPass(
          mlir::odml::CreateLegalizeTFXlaCallModuleToStablehloPass());
    
      // Legalize MHLO to StableHLO should be moved closer to where it is needed
      // There are some entry points that start with HLO->MHLO like
      // jax_to_tfl_flatbuffer.cc which can likely be updated to emit StableHLO
      // to be consistent with other entrypoints.
      pass_manager.addPass(mlir::mhlo::createHloLegalizeToStablehloPass());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/aot/tests/tfcompile_test.cc

    #include "tensorflow/compiler/aot/tests/test_graph_tfvariable_sequential_updates_mlir_bridge.h"
    // Similarly, there are files for testing the MLIR based lowering of HLO to
    // object code for XLA:CPU
    #elif defined(MHLO_LOWERING_TEST)
    #include "tensorflow/compiler/aot/tests/test_graph_tfadd_mhlo_lowering.h"
    #include "tensorflow/compiler/aot/tests/test_graph_tfadd_with_ckpt_mhlo_lowering.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/BUILD

            "@local_tsl//tsl/platform:statusor",
            "@local_xla//xla:xla_data_proto_cc",
            "@local_xla//xla/client:xla_builder",
            "@local_xla//xla/client:xla_computation",
            "@local_xla//xla/hlo/ir:hlo",
            "@local_xla//xla/mlir_hlo",
            "@local_xla//xla/service:hlo_proto_cc",
            "@local_xla//xla/translate/hlo_to_mhlo:hlo_module_importer",
            "@local_xla//xla/translate/hlo_to_mhlo:hlo_to_mlir_hlo",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top