Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 839 for nilcheck (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/function-resource-args-handle-info.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s
    
    func.func @main(%arg0: tensor<*x!tf_type.resource<tensor<8x1xf32>>>) -> tensor<8x1xf32> {
      %0 = tf_executor.graph {
         %outputs, %control = tf_executor.island wraps "tf.ReadVariableOp"(%arg0) : (tensor<*x!tf_type.resource<tensor<8x1xf32>>>) -> tensor<8x1xf32>
         tf_executor.fetch %outputs : tensor<8x1xf32>
      }
      func.return %0 : tensor<8x1xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/ref-type-attr.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s
    
    // Verify that attribute T is not set as ref type.
    // CHECK-LABEL: name: "Ref_Variable"
    // CHECK-LABEL: name: "foo"
    // CHECK:      attr {
    // CHECK-NEXT:   key: "T"
    // CHECK-NEXT:   value {
    // CHECK-NEXT:     type: DT_INT32{{$}}
    // CHECK-NEXT:   }
    // CHECK-NEXT: }
    
    func.func @main() {
      tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 775 bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/result-sharding.mlir

    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=128,10:10,1024:128,1024 -tf-xla-emit-use-tuple-args -tf-xla-emit-return-tuple | FileCheck %s
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 351 : i32}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 23 18:56:13 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/preserve-entry-func-names.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s
    
    func.func @main(%arg0: tensor<10xi32>, %arg1: tensor<10xi32>) -> tensor<10xi32>
    attributes {tf.entry_function = {inputs = "foo,bar", outputs = "Add"}} {
      %graph = tf_executor.graph {
        // This node would be renamed to bar1 [note: if imported from TF graphdef this would not be possible]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 22:54:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/device-arg-retval-attr.pbtxt

    # RUN: tf-mlir-translate -graphdef-to-mlir -tf-enable-shape-inference-on-import=false %s -tf-graph-as-function -o - | FileCheck %s
    
    # Verify arg and ret devices are added as arg and ret attributes.
    
    # CHECK-LABEL: func @main
    # CHECK-SAME:  (%[[ARG_0:[a-z0-9]+]]: tensor<*xf32> {tf.device = "/CPU:0"}, %[[ARG_1:[a-z0-9]+]]: tensor<2x4x6x8xi32>) -> (tensor<*xf32>, tensor<*xi32> {tf.device = "/CPU:1"})
    
    node {
      name: "args_0"
      op: "_Arg"
      device: "/CPU:0"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Dec 07 17:45:22 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/batch_function_fallback_resource_variable_as_captured_tensor.mlir

    // RUN: tf-tfrt-opt -pass-pipeline='builtin.module(tf-executor-to-tfrt-pipeline{target-tpurt=true})' %s | FileCheck %s
    
    module attributes {tf_saved_model.semantics}  {
      // CHECK-LABEL: func @main
      func.func @main_func() -> (tensor<*xf32> {tf_saved_model.index_path = ["a"]}) attributes {tf_saved_model.exported_names = ["main_func"]} {
        %0 = tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/ifrt/tf_restore_pruning.mlir

    // RUN: tf-tfrt-opt -tf-restore-pruning %s | FileCheck %s
    
    // CHECK-LABEL:   func.func @prune_unused_restore
    func.func @prune_unused_restore() {
      %cst = "tf.Const"() <{value = dense<"restore_ariables"> : tensor<!tf_type.string>}> : () -> tensor<!tf_type.string>
      %cst_0 = "tf.Const"() <{value = dense<""> : tensor<1x!tf_type.string>}> : () -> tensor<1x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 22:02:06 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/variant_type_on_func.mlir

    // RUN: flatbuffer_translate -mlir-to-tflite-flatbuffer %s -o - | flatbuffer_to_string - | FileCheck %s
    
    // CHECK: {
    // CHECK-NEXT:   version: 3,
    // CHECK-NEXT:  operator_codes: [  ],
    // CHECK-NEXT:  subgraphs: [ {
    // CHECK-NEXT:    tensors: [ {
    // CHECK-NEXT:      shape: [  ],
    // CHECK-NEXT:      type: VARIANT,
    // CHECK-NEXT:      buffer: 1,
    // CHECK-NEXT:      name: "arg0",
    // CHECK-NEXT:      quantization: {
    // CHECK-EMPTY:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 16 20:36:14 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/tests/unfold_splat_constant_pass.mlir

    // RUN: odml-to-stablehlo-opt %s -unfold-splat-constant-pass -cse -verify-diagnostics | FileCheck %s
    
    // CHECK-LABEL: @unfold_splat_constant_float
    func.func @unfold_splat_constant_float() -> tensor<1x750xf32> {
      %cst = mhlo.constant dense<7.680000e+02> : tensor<1x750xf32>
      func.return %cst : tensor<1x750xf32>
    
      // CHECK-DAG: %0 = mhlo.constant dense<7.680000e+02> : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/stringescape.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s
    
    func.func @main() {
    ^bb0:
      // CHECK:      key: "listvalue"
      // CHECK-NEXT: value {
      // CHECK-NEXT:   list {
      // CHECK-NEXT:     s: " \n"
      // CHECK-NEXT:   }
      // CHECK:      key: "value"
      // CHECK-NEXT: value {
      // CHECK-NEXT:   s: " 0\n\000\000"
      tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 556 bytes
    - Viewed (0)
Back to top