Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 209 for legalized (0.16 sec)

  1. tensorflow/compiler/mlir/lite/tests/legalize-tensorlist.mlir

    // RUN: tf-opt -tfl-legalize-tensorlist -canonicalize -split-input-file %s | FileCheck %s
    
    // CHECK-LABEL: listReserveScalarShapeI32
    func.func @listReserveScalarShapeI32(%arg0: tensor<i32>, %arg1: tensor<i32>) -> tensor<!tf_type.variant<tensor<*xi32>>> {
      %0 = "tf.TensorListReserve"(%arg0, %arg1) : (tensor<i32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<*xi32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-stablehlo-tfl-composite.mlir

    // RUN: odml-to-stablehlo-opt %s -stablehlo-composite-legalize-tfl-custom | FileCheck %s
    // RUN: tf_tfl_translate --enable-hlo-to-tf-conversion --input-mlir %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s --check-prefix=CHECK-ROUNDTRIP
    
    module {
      func.func public @main(%arg0: tensor<3x3xf32>, %arg1: tensor<3x3xf32>, %arg2: tensor<1x100x32x4xf32>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      let summary = "Transform Einsum to other TF Ops for the supported variants";
      let constructor = "TF::CreateTransformEinsumPass()";
    }
    
    def LegalizeTFGToTFPass : Pass<"tfe-legalize-tfg", "ModuleOp"> {
      let summary = "Legalize from TFG to the TFE dialect";
      let constructor = "TF::CreateLegalizeTFGToTFEPass()";
    }
    
    def ReplicateToIslandPass : Pass<"tf-replicate-to-island", "mlir::func::FuncOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/legalize-tf-hashtables.mlir

    // RUN: tf-opt %s -split-input-file -tfl-legalize-hashtables-tf --cse | FileCheck %s
    
    // Test for case with string -> int64 hashtable.
    func.func @hashtable_string_to_int64(%arg0: tensor<i64>) -> tensor<*xi64> {
      %cst = arith.constant dense<"f"> : tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir

    // RUN: tf-opt -convert-tf-quant-types -quant-convert-tf-quant-ops-to-mhlo -canonicalize "-xla-legalize-tf=legalize-chlo=false" -split-input-file %s | FILECHECK_OPTS="" FileCheck %s
    
    
    //===----------------------------------------------------------------------===//
    // tf.UniformQuantizedDotHybrid legalization
    //===----------------------------------------------------------------------===//
    
    // CHECK-LABEL: func @quantized_matmul_fn
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 01:25:29 UTC 2024
    - 37.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/legalize_hashtables.cc

            continue;
          if (auto size_op = llvm::dyn_cast<TF::LookupTableSizeV2Op>(user))
            continue;
    
          return false;
        }
      }
      return true;
    }
    
    // Pass which legalizes TF hash tables only when they are covered by the
    // TensorFlow Lite hash table kernels.
    class LegalizeHashTablesPass
        : public impl::LegalizeHashTablesPassBase<LegalizeHashTablesPass> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.h

                                             llvm::SmallVector<Value>& outputs);
    
      // Tries to legalize the specified TensorFlow op, if supported.
      //
      // Emits an error and returns failure if an error is encountered during
      // conversion. Note that success return value doesn't mean successful
      // legalization.
      mlir::LogicalResult LegalizeOp();
    
      // Converts the given operand to expression of kind kConstant or kXlaOp.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    // RUN: tf-opt %s -tfl-legalize-tf --cse -split-input-file| FileCheck %s --dump-input=fail
    
    func.func @add(%arg0: tensor<1xf32>, %arg1: tensor<1xf32>) -> tensor<1xf32> {
      %0 = "tf.Add"(%arg0, %arg1) : (tensor<1xf32>, tensor<1xf32>) -> tensor<1xf32>
      func.return %0: tensor<1xf32>
    
    // CHECK-LABEL: add
    // CHECK:  tfl.add %arg0, %arg1 {fused_activation_function = "NONE"} : tensor<1xf32>
    // CHECK:  return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

      ];
    }
    
    def LegalizeHloToTfPass : Pass<"tf-legalize-hlo", "ModuleOp"> {
      let summary = "Legalize from MHLO to the TF dialect";
      let dependentDialects = ["TF::TensorFlowDialect"];
      let constructor = "mlir::odml::CreateLegalizeHloToTfPass()";
    }
    
    def LegalizeHloToTfLitePass : Pass<"tfl-legalize-hlo", "mlir::ModuleOp"> {
      let summary = "Legalize from MHLO to the TFLite dialect";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/tests/BUILD

        name = "all_tests",
        data = [":test_utilities"],
        driver = "@llvm-project//mlir:run_lit.sh",
        size_override = {
            "legalize-tf-binary-elementwise.mlir": "medium",
            "legalize-tf-include-tf2xla-fallback.mlir": "medium",
            "legalize-tf-prefer-tf2xla.mlir": "medium",
            "legalize-tf.mlir": "medium",
        },
        test_file_exts = [
            "mlir",
            "hlotxt",
        ],
    )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 910 bytes
    - Viewed (0)
Back to top