Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 2,131 for MLIR (0.04 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_restore_op.mlir

    // RUN: tf-quant-opt %s -split-input-file -verify-diagnostics \
    // RUN:   -quant-insert-restore-op | FileCheck %s
    // RUN: tf-quant-opt %s -split-input-file -verify-diagnostics \
    // RUN:   -mlir-print-debuginfo -mlir-print-local-scope \
    // RUN:   -quant-insert-restore-op | FileCheck %s --check-prefix CHECK-LOC
    
    // RestoreV2 op created for a single VarHandleOp.
    
    module attributes {tf_saved_model.semantics} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s
    // Ensure constants roundtrip exactly
    
    func.func @bool() -> tensor<4xi1> {
      // CHECK-LABEL: @bool
      // CHECK: value = dense<[false, true, true, false]> : tensor<4xi1>
      %0 = "tfl.pseudo_const"() { value = dense<[false, true, true, false]> : tensor<4xi1> } : () -> tensor<4xi1>
      func.return %0 : tensor<4xi1>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/unidirectional_sequence_lstm.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:55:51 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir

    // RUN:     -allow-unregistered-dialect -mlir-disable-threading \
    // RUN:     -split-input-file -verify-diagnostics | FileCheck %s
    // RUN: tf-quant-opt %s -quant-merge-initializer-function-ops-to-main \
    // RUN:     -allow-unregistered-dialect -mlir-disable-threading \
    // RUN:     -split-input-file -mlir-print-local-scope -mlir-print-debuginfo \
    // RUN:     -verify-diagnostics | FileCheck %s --check-prefix CHECK-LOC
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s
    // Ensure lstm roundtrip exactly
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer --emit-stablehlo-ops=true %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir --disable-vhlo-to-stablehlo=true - -o - | FileCheck %s
    // test stablehlo roundtrip
    
    // Identity function to make the exporter happy
    func.func @main(%arg0: tensor<4xi8>) -> tensor<4xi8> {
      func.return %arg0 : tensor<4xi8>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 31.9K bytes
    - Viewed (1)
  7. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/serialized-mlir-module-str-attr.mlir

    // RUN: tf-mlir-translate -mlir-tf-str-attr-to-mlir %s -mlir-print-debuginfo -mlir-print-local-scope | FileCheck %s
    
    "\0A\0Amodule attributes {tf.versions = {producer = 888 : i32}} {\0A func.func @main(%arg0: tensor<?xi32>) -> tensor<?xi32> {\0A %0 = \22tf.Identity\22(%arg0) : (tensor<?xi32>) -> tensor<?xi32> loc(unknown)\0A return %0 : tensor<?xi32> loc(unknown)\0A } loc(unknown)\0A} loc(unknown)"
    
    // Test simple serialized computation consisting of a function named `main`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 09 13:27:00 UTC 2022
    - 998 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir

    func.func @main() {
      cf.br ^bb1
    ^bb1:
      func.return
    }
    
    // -----
    
    // Tests main function is terminated with a non MLIR ReturnOp.
    
    // expected-error@+1 {{expects function 'main' to have a MLIR ReturnOp}}
    func.func @main() {
    ^bb0:
      tf_device.return
    }
    
    // -----
    
    // Tests main function with invalid resource argument subtype.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/ops.mlir

      // expected-error @+1 {{'tfl.lstm' op attribute 'kernel_type' failed to satisfy constraint: lstm_kernel_type whose value is mlir::TFL::LSTMKernelType::FULL}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/embedding_sequencing.mlir

        return %0 : tensor<i1>
      }
    }
    
    // -----
    // This test verifies that the sequencing pass WAI even when tf.WriteSummaryOp is present. This is a complement to the logic/test for embedding_pipelining.cc/mlir
    module {
      func.func @main(%arg0: tensor<*x!tf_type.resource>) {
        %cst_main = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 01 21:27:49 UTC 2023
    - 19.1K bytes
    - Viewed (0)
Back to top