- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 839 for nilcheck (0.13 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/README.md
# SavedModel importer FileCheck tests. ## Debugging tests While debugging tests, the following commands are handy. Run FileCheck test: ``` bazel run :foo.py.test ``` Run just the Python file and look at the output: ``` bazel run :foo ``` Generate saved model to inspect proto: ``` bazel run :foo -- --save_model_path=/tmp/my.saved_model # Inspect /tmp/my.saved_model/saved_model.pb ```
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 02 03:37:19 UTC 2019 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/legalize-tfl-stablehlo-sub.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.subtract", 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 - 751 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo_const.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 attributes {tfl.metadata = {"keep_stablehlo_constant" = "true"}} { func.func @main () -> tensor<1x1x1x96xf32> { %0 = "vhlo.constant_v1"() <{value = #vhlo.tensor_v1<dense<0.000000e+00> : tensor<f32>>}> : () -> tensor<1x1x1x96xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 833 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/many_attribute_op.mlir
// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s // Confirm a wide array of attribute survives the round-trip func.func @main(tensor<1x6x6x16xf32>) -> tensor<1x1x1x16xf32> { ^bb0(%arg0: tensor<1x6x6x16xf32>):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 824 bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/tfxla_device_specific_transformations_gpu.mlir
// RUN: tf-opt "--tfxla-device-specific-transforms=device-type=XLA_GPU_JIT" -verify-diagnostics -split-input-file %s | FileCheck -dump-input=fail %s module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 1399 : i32}} { // CHECK-LABEL: stateless_op func.func @stateless_op() -> tensor<i32> { // CHECK: %cst = "tf.Const"() <{value = dense<1> : tensor<i32>}> : () -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 515 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/custom_op.mlir
// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s func.func @main(%arg0: tensor<32x4x4x128xf32>, %arg1: tensor<1x32x42x128xf32>, %arg2: tensor<4xi32>) -> tensor<1x64x84x32xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 827 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/mlir-module-serialized-str-attr.mlir
// RUN: tf-mlir-translate -mlir-tf-mlir-to-str-attr -mlir-print-local-scope %s | FileCheck %s module attributes {tf.versions = {producer = 888 : i32}} { func.func @main(%arg0: tensor<?xi32>) -> tensor<?xi32> { %0 = "tf.Identity"(%arg0) : (tensor<?xi32>) -> tensor<?xi32> loc(unknown) func.return %0 : tensor<?xi32> loc(unknown) } loc(unknown) } loc(unknown)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 24 06:42:46 UTC 2023 - 672 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/debuginfo/saved_model_error.py
# limitations under the License. # ============================================================================== """Test file to display the error message and verify it with FileCheck.""" # RUN: %p/saved_model_error | FileCheck %s import sys from absl import app import tensorflow.compat.v2 as tf if hasattr(tf, 'enable_v2_behavior'): tf.enable_v2_behavior() class TestModule(tf.Module):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/custom_op_offset.mlir
// RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer --use-buffer-offset %s -o - | flatbuffer_translate --tflite-flatbuffer-to-mlir - -o - | FileCheck %s func.func @main(%arg0: tensor<32x4x4x128xf32>, %arg1: tensor<1x32x42x128xf32>, %arg2: tensor<4xi32>) -> tensor<1x64x84x32xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 847 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/remove_sharding_custom_call.mlir
// RUN: stablehlo-quant-opt %s -stablehlo-remove-sharding-custom-call \ // RUN: -split-input-file | FileCheck %s // CHECK-LABEL: sharding_custom_call_removed func.func @sharding_custom_call_removed(%arg0: tensor<3xf32>) -> tensor<3xf32> { %1 = stablehlo.custom_call @Sharding(%arg0) {mhlo.sharding = ""} : (tensor<3xf32>) -> tensor<3xf32> return %1 : tensor<3xf32> } // CHECK-NOT: custom_call // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 13 07:04:47 UTC 2024 - 743 bytes - Viewed (0)