Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for HLO (0.01 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

      }
    
      func.func @non_const_inputs(%arg0: tensor<2x2xf64>, %arg1: tensor<f64>, %arg2: tensor<2xi32>, %arg3: tensor<2xi32>, %arg4: tensor<2xi32>) -> tensor<6x5xf64> {
        // expected-remark@+1 {{compilation to HLO failed: INVALID_ARGUMENT: Input 2 to node `tf.XlaPad` with op XlaPad must be a compile-time constant.}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h

            custom_legalization_passes);
    
    // Compiles a Graph from TF to HLO and adds the resulting HLO to the
    // XlaBuilder. This function adds HLO to a larger HLO computation, so
    // HLO-level inputs are supplied, and HLO-level outputs are produced.
    // xla_params is the HLO-level inputs and returns is the HLO-level outputs.
    // If unconditionally_use_output_shapes is true then the unregistered
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.cc

    // NOLINTNEXTLINE
    opt<bool> import_hlo("import-hlo",
                         llvm::cl::desc("Whether the input file is hlo file."),
                         llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    opt<HloImportType> hlo_import_type(
        "hlo-import-type", llvm::cl::desc("The file type of the hlo."),
        llvm::cl::values(clEnumVal(proto, "Import hlo in proto binary format"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/shape-inference.mlir

    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=10,17:17,19 -tf-xla-emit-use-tuple-args -tf-xla-emit-return-tuple | FileCheck %s
    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=10,17:17,19 | FileCheck -check-prefix=NO_TUPLES %s
    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text-via-builder %s -tf-input-shapes=10,17:17,19 | FileCheck -check-prefix=NO_TUPLES %s
    
    module attributes {tf.versions = {producer = 179 : i32}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 23 18:56:13 UTC 2022
    - 969 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/add.mlir

    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=: -tf-xla-emit-return-tuple | FileCheck %s
    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=: -tf-xla-emit-use-tuple-args -tf-xla-emit-return-tuple | FileCheck -check-prefix=TUPLE-ARGS %s
    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=: | FileCheck -check-prefix=NO_RET_TUPLE %s
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 23 18:56:13 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf_passes.td

    // Declare passes used in xla_legalize_tf.
    
    include "mlir/Pass/PassBase.td"
    
    def LegalizeTF : Pass<"xla-legalize-tf", "ModuleOp"> {
      let summary = "Legalize from TF dialect's or HLO dialect's control flow.";
    
      let description = [{
        Legalizes from TF dialect to HLO dialect. When allow_partial_conversion is
        false, emits an error if there is any operation that can't be legalized.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 17:44:14 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/passes.h

                                                RewritePatternSet* patterns);
    
    /// Converts the provided Operation as well as all nested operations into HLO
    /// dialect using the conversion patterns registered by the HLO dialect. When
    /// allow_partial_conversion is false, emits an error if there is any operation
    /// that can't be legalized.
    /// When `tf2xla_fallback_device_type` is not `None`, also uses legalization
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/shape-inference-after-legalization.mlir

    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=8,16,16,64:64 -tf-xla-emit-use-tuple-args -tf-xla-emit-return-tuple | FileCheck %s
    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text-via-builder %s -tf-input-shapes=8,16,16,64:64 | FileCheck %s
    
    module attributes {tf.versions = {producer = 179 : i32}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 23 18:56:13 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.h

    extern llvm::cl::opt<std::string> saved_model_exported_names;
    
    // Import HLO.
    enum HloImportType { proto, hlotxt, mlir_text };
    
    extern llvm::cl::opt<bool> import_hlo;
    extern llvm::cl::opt<HloImportType> hlo_import_type;
    
    // enable_hlo_to_tf_conversion and disable_hlo_to_tfl_conversion are used to
    // control the HLO to TF and HLO to TFLite conversion while debugging an
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/device_compiler_client.h

    namespace tensorflow {
    
    template <typename ExecutableType, typename ClientType>
    class DeviceCompilerClient {
     public:
      DeviceCompilerClient() = default;
      virtual ~DeviceCompilerClient() = default;
    
      // Compiles `result` (HLO) to an `ExecutableType` using `ClientType` and
      // returns it.
      virtual StatusOr<std::unique_ptr<ExecutableType>> BuildExecutable(
          const XlaCompiler::Options& options,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top