- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 764 for fileCheck (2.02 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function-retval-of-arg.pbtxt
# RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -o - | FileCheck %s node { name: "arg" op: "_Arg" attr { key: "T" value { type: DT_INT32 } } attr { key: "index" value { i: 0 } } } node { name: "ret" op: "_Retval" input: "arg" attr { key: "T" value { type: DT_INT32
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 10 19:53:21 UTC 2020 - 807 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/simple_with_connected_control_nodes.mlir
// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - -strip-debug-info | flatbuffer_to_string - | FileCheck %s --check-prefix=STRIP func.func @main(tensor<3x2xi32>) -> tensor<3x2xi32> attributes {tf.entry_function = {inputs = "input", outputs = "SameNameAsOutput"}} { ^bb0(%arg0: tensor<3x2xi32>): // CHECK: { // CHECK-NEXT: version: 3,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 17 13:32:53 UTC 2022 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/basic_lstm.mlir
// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s // Ensure basic_lstm roundtrip exactly func.func @main(%arg0: tensor<1x384xf32>, %arg1: tensor<1x96xf32>, %arg2: tensor<384x480xf32>, %arg3: tensor<384xf32>, %arg4: tensor<1x96xf32>) -> tensor<1x96xf32> { // CHECK-LABEL: @main
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-tfl-stablehlo-conv.mlir
// RUN: odml-to-stablehlo-opt %s -tfl-parse-stablehlo-ops | FileCheck -dump-input always %s module { func.func @main(%arg0: tensor<8x8x1x207xf32>, %arg1: tensor<3x3x16x207xf32>) -> tensor<16x8x8x1xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 24 06:08:43 UTC 2024 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_custom.mlir
// RUN: not flatbuffer_translate -mlir-to-tflite-flatbuffer %s 2>&1 | FileCheck %s // CHECK: error: 'tf.MyCustomOp' op is neither a custom op nor a flex op // CHECK: error: failed while converting: 'main' // CHECK: Some ops in the model are custom ops, See instructions to implement // CHECK: tf.MyCustomOp(tensor<4xf32>, tensor<4xf32>) -> (tensor<4xf32>, tensor<3xf32>) : {name = "MyCustomOp"} func.func @main(tensor<4xf32>) -> tensor<4xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 24 07:31:32 UTC 2022 - 938 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/type_attr.mlir
// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -emit-custom-ops -emit-builtin-tflite-ops=false -o - | flatbuffer_to_string - | FileCheck %s // CHECK: { // CHECK: version: 3, // CHECK: operator_codes: [ { // CHECK: deprecated_builtin_code: 32, // CHECK: custom_code: "SomeOperation", // CHECK: builtin_code: CUSTOM // CHECK: } ], // CHECK: subgraphs: [ { // CHECK: tensors: [ { // CHECK: shape: [ ],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 24 07:31:32 UTC 2022 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/external_constant.mlir
// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir --use-external-constant - -o - | FileCheck %s // Ensure that `tfl.external_const` is imported when the flag `-use-external-constant` is enabled. func.func @main(tensor<40x37xf32>, tensor<40x37xf32>) -> tensor<40x40xf32> { ^bb0(%arg0: tensor<40x37xf32>, %arg1: tensor<40x37xf32>): %cst = arith.constant dense<1.0> : tensor<40xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/invalid-output-index.pbtxt
# RUN: not tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-input-arrays=input -tf-input-data-types=DT_FLOAT -tf-input-shapes='' -tf-output-arrays=input:1 -o - 2>&1 | FileCheck %s # CHECK: Invalid output index 1 specified for node: input node { name: "input" op: "Placeholder" attr { key: "dtype" value { type: DT_FLOAT } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 10 23:27:16 UTC 2021 - 391 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/mix_tflite_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 module { func.func @main(%arg0: tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> { %0 = "vhlo.logistic_v1"(%arg0) : (tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> %1 = "tfl.exp"(%0) : (tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> loc("exp")
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 907 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/verify_for_export.mlir
// RUN: tf-opt %s -split-input-file -tf-verify-for-export -verify-diagnostics | FileCheck %s module { func.func @failsNoIslands() { // expected-error @+1 {{functions must be of a single Graph with single op Islands: first op in function is not a tf_executor.graph}} func.return } } // ----- module { // CHECK-LABEL: func @passesSingleIslandOp func.func @passesSingleIslandOp() { // CHECK: _class = ["loc:@class"]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 27 17:36:06 UTC 2023 - 885 bytes - Viewed (0)