Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 764 for fileCheck (2.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/func-attr.mlir

    // RUN: tf-opt %s | tf-opt | FileCheck %s
    
    // CHECK-LABEL: func @func_attr
    // CHECK-SAME: tf._implements = #tf_type.func<@symbol_a, {attr0 = 1 : i32, attr1 = "random"}>
    func.func @func_attr() attributes {tf._implements = #tf_type.func<@symbol_a, {attr0 = 1 : i32, attr1 = "random"}>} {
      func.return
    }
    
    // CHECK-LABEL: func @nested_func_attr
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 725 bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_side_effect.mlir

    // RUN: tf-opt %s -cse  | FileCheck %s
    // Checks that CSE runs without generating invalid IR and doesn't CSE ops like
    // NextIteration.Source and NextIteration.Sink.
    // CHECK-LABEL: func @main
    // CHECK: tf_executor.NextIteration.Source
    // CHECK: tf_executor.NextIteration.Source
    // CHECK: tf_executor.NextIteration.Sink
    // CHECK: tf_executor.NextIteration.Sink
    func.func @main() -> (tensor<1xi32>, tensor<1xi32>) {
      %0, %1 = tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 05:47:26 UTC 2022
    - 989 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-call.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=x -tf-input-data-types=DT_INT32 -tf-input-shapes=10 -tf-output-arrays=func_call -o - | FileCheck %s
    
    node {
      name: "x"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_INT32
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_INT32
            tensor_shape {
              dim {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/stablehlo-custom-call-legalize-composite.mlir

    // RUN: odml-to-stablehlo-opt %s -stablehlo-custom-call-legalize-composite | FileCheck %s
    
    // CHECK-LABEL: module
    module {
      // CHECK-LABEL: @main
      func.func @main(%arg0: tensor<1xf32>, %arg1: tensor<2xf32>) {
        // CHECK: stablehlo.custom_call @foo
        stablehlo.custom_call @foo() : () -> ()
        // CHECK-NOT: stablehlo.custom_call
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 19:49:44 UTC 2024
    - 1009 bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/export_main_to_flib.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef -tf-export-entry-func-to-flib  %s -o - 2>&1 | FileCheck %s
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 458 : i32}} {
      func.func @main() attributes {tf.entry_function = {inputs = "", outputs = ""}} {
        tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 699 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/post-quantize-dynamic-range.mlir

    // RUN: tf-opt %s -tfl-prepare-quantize-dynamic-range="enable-custom-op-quantization=CustomTestOp=1" -tfl-quantize="enable-dynamic-range-quantization=true enable-custom-op-weight-only=CustomTestOp=false" -tfl-post-quantize="enable-no-side-effect=CustomTestOp=false" | FileCheck --check-prefix=NotPrune %s
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-as-fetch.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s --mlir-print-debuginfo --print-after-all -tf-input-arrays=arg -tf-input-data-types=DT_INT32 -tf-input-shapes=8 -tf-output-arrays=arg -o - | FileCheck %s
    
    node {
      name: "arg"
      op: "_Arg"
      attr {
        key: "T"
        value {
          type: DT_INT32
        }
      }
      attr {
        key: "index"
        value {
          i: 0
        }
      }
    }
    versions {
      producer: 27
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 25 01:00:57 UTC 2021
    - 775 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-tfl-stablehlo-add.mlir

    // RUN: odml-to-stablehlo-opt %s -tfl-parse-stablehlo-ops | FileCheck %s
    
    module {
    func.func @main(%arg0: tensor<2xi32>) -> tensor<2xi32> attributes {tf.entry_function = {inputs = "arg0", outputs = "tfl.custom1"}} {
      %0 = "tfl.custom"(%arg0, %arg0) {custom_code = "stablehlo.add", custom_option = #tfl<const_bytes : "0x00000100002401">} : (tensor<2xi32>, tensor<2xi32>) -> tensor<2xi32>
      func.return %0 : tensor<2xi32>
    }
    }
    
    // CHECK:       module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 16 05:09:09 UTC 2022
    - 741 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-tfl-stablehlo-clamp.mlir

    // RUN: odml-to-stablehlo-opt %s -tfl-parse-stablehlo-ops | FileCheck %s
    
    module {
    func.func @main(%arg0: tensor<2xi32>, %arg1: tensor<2xi32>, %arg2: tensor<2xi32>) -> tensor<2xi32> {
      %0 = "tfl.custom"(%arg0, %arg1, %arg2) {custom_code = "stablehlo.clamp", custom_option = #tfl<const_bytes : "0x00000100002401">} : (tensor<2xi32>, tensor<2xi32>, tensor<2xi32>) -> tensor<2xi32>
      func.return %0 : tensor<2xi32>
    }
    }
    
    // CHECK:       module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 16 05:09:09 UTC 2022
    - 710 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/derived_size_attr.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s
    
    // CHECK: op: "Split"
    // CHECK: attr {
    // CHECK:   key: "num_split"
    // CHECK:   value {
    // CHECK:     i: 2
    // CHECK:   }
    // CHECK: }
    
    func.func @main() {
      tf_executor.graph {
        %dim:2 = tf_executor.island wraps "tf.Const"() {dtype = "tftype$DT_INT32", value = dense<0> : tensor<i32>} : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 700 bytes
    - Viewed (0)
Back to top