Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for HashTableV2 (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/init_text_file_to_import_saved_model.mlir

      // CHECK: [[VAL:%.*]] = "tf.HashTableV2"()
      // CHECK: "tf.LookupTableImportV2"([[VAL]], [[CST]], [[CST_0]])
    }
    
    // Tests that the tf.InitializeTableFromTextFileV2 op with explicit vocab size.
    
    func.func @init_all_tables_with_explicit_vocab_size() {
      %cst = arith.constant dense<"tokens.txt"> : tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_freeze_assets.mlir

        // CHECK: [[HASHTABLE:%.+]] = "tf.HashTableV2"()
        // CHECK: "tf.InitializeTableFromTextFileV2"([[HASHTABLE]], [[CST]])
        // CHECK: [[HASHTABLE_1:%.+]] = "tf.HashTableV2"()
        // CHECK: "tf.InitializeTableFromTextFileV2"([[HASHTABLE_1]], [[CST_1]])
        func.return
      }
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/hashtable_resource.mlir

    // CHECK:  operator_codes: [ {
    // CHECK:    deprecated_builtin_code: 32,
    // CHECK:    custom_code: "HashTableV2",
    // CHECK:    builtin_code: CUSTOM
    // CHECK: } ],
    // CHECK: subgraphs: [ {
    // CHECK:   tensors: [ {
    // CHECK:     shape: [  ],
    // CHECK:     type: RESOURCE,
    // CHECK:     buffer: 1,
    // CHECK:     name: "tf.HashTableV2",
    // CHECK:     quantization: {
    // CHECK-EMPTY
    // CHECK:     }
    // CHECK:   } ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:31:32 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/hoist_invariant_ops_mlrt.mlir

    module attributes {tf_saved_model.semantics} {
    
    // Test hoisting hash table op.
    
    // CHECK-LABEL: func @_tfrt_resource_init
    // CHECK: [[handle:%.*]] = "tf.HashTableV2"()
    // CHECK-SAME: shared_name = "x"
    // CHECK: "tf._TfrtSetResource"([[handle]]) <{index = [[handle_id:.*]] : i64}> {device = "/job:localhost/replica:0/task:0/device:CPU:0"}
    // CHECK: [[x:%.*]] = "tf.LookupTableSizeV2"([[handle]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/init_text_file_to_import_invalid.mlir

      func.return
      // CHECK: [[VAL:%.*]] = "tf.HashTableV2"()
      // CHECK: tf.InitializeTableFromTextFileV2"
    }
    
    // -----
    
    // Tests that the tf.InitializeTableFromTextFileV2 op is not converted since
    // unsupported value_index, 0.
    
    func.func @init_all_tables() {
      %cst = arith.constant dense<"vocab_file_does_not_exist.txt"> : tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_hashtable_ops_as_args.mlir

        %cst_6 = "tf.Const"() {value = dense<0.00156862743> : tensor<f32>} : () -> tensor<f32>
        %0 = "tf.HashTableV2"() {container = "", device = "", key_dtype = !tf_type.string, shared_name = "hash_table_1", use_node_name_sharing = false, value_dtype = i64} : () -> tensor<!tf_type.resource>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 15 05:41:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/init_text_file_to_import.mlir

      // CHECK: [[VAL:%.*]] = "tf.HashTableV2"()
      // CHECK: "tf.LookupTableImportV2"([[VAL]], [[CST]], [[CST_0]])
    }
    
    // Tests that the tf.InitializeTableFromTextFileV2 op with explicit vocab size.
    
    func.func @init_all_tables_with_explicit_vocab_size() {
      %cst = arith.constant dense<"%FILE_PLACEHOLDER"> : tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/legalize-tf-hashtables.mlir

      // CHECK-NEXT:  "tf.HashTableV2"
      // CHECK-NEXT:  "tf.LookupTableRemoveV2"
      func.return
    }
    
    // -----
    
    // Test for case with import op.
    func.func @hashtable_import(%arg0: tensor<5x!tf_type.string>) {
      %cst = arith.constant dense<["emerson", "lake", "palmer"]> : tensor<3x!tf_type.string>
      %cst_0 = arith.constant dense<[0, 1, 2]> : tensor<3xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/force_shared_name_for_resource_ops.pbtxt

        }
      }
    }
    
    # CHECK: tf.HashTableV2
    # CHECK-SAME: shared_name = "hash_table_node"
    
    # CHECK: "tf.Variable"
    # CHECK-SAME: shared_name = "variable_node"
    # CHECK: "tf.VariableV2"
    # CHECK-SAME: shared_name = "variable_v2_node"
    
    # CHECK: "tf.BatchFunction"
    # CHECK-SAME: shared_name = "batch_node"
    
    # CHECK: func private @create_resource
    # CHECK: tf.HashTableV2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 31 02:37:48 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/insert_call_once_op.mlir

        %cst = arith.constant dense<[1, 2, 3, 4]> : tensor<4xi64>
        %cst_0 = arith.constant dense<["a", "b", "c", "d"]> : tensor<4x!tf_type.string>
        %0 = "tf.HashTableV2"() {container = "", device = "", key_dtype = i64, shared_name = "hash_table_dba2ccaa-f1b1-46d6-b276-98008f69da71", use_node_name_sharing = false, value_dtype = !tf_type.string} : () -> tensor<!tf_type.resource>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top