Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for LookupTableImportV2 (0.27 sec)

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

      // CHECK-DAG: [[CST_0:%.*]]  = arith.constant dense<[0, 1, 2]> : tensor<3xi64>
      // 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() {
    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/quantization/tensorflow/tests/lift_hashtable_ops_as_args.mlir

        "tf.LookupTableImportV2"(%0, %cst, %cst_0) {_has_manual_control_dependencies = true, device = ""} : (tensor<!tf_type.resource>, tensor<3x!tf_type.string>, tensor<3xi64>) -> ()
        return
      }
    
    // Check that HashTable op in the initilizer is not lifted.
    // CHECK: func.func @init_all_tables()
    // CHECK: %[[OUT_0:.*]] = "tf.HashTableV2"()
    // CHECK: "tf.LookupTableImportV2"(%[[OUT_0]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 15 05:41:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/init_text_file_to_import.mlir

      // CHECK-DAG: [[CST_0:%.*]]  = arith.constant dense<[0, 1, 2]> : tensor<3xi64>
      // 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() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir

          // Has a control dependency to the previous LookupTableImportV2.
          %out_4, %ctl_6 = tf_executor.island(%ctl_3) wraps "tf.HashTableV2"() {container = "", device = "", key_dtype = !tf_type.string, shared_name = "2", use_node_name_sharing = false, value_dtype = i64} : () -> tensor<!tf_type.resource>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/insert_call_once_op.mlir

        "tf.LookupTableImportV2"(%0, %cst, %cst_0) {device = ""} : (tensor<!tf_type.resource>, tensor<4xi64>, tensor<4x!tf_type.string>) -> ()
        func.return
        // CHECK-LABEL: @init_all_tables
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_duplicate_resource_ops.mlir

    // CHECK: %[[OUT_1:.*]], %[[CTL_1:.*]] = tf_executor.island wraps "tf.LookupTableSizeV2"(%[[OUT_0]])
    
    // Check that LookupTableImportV2 is using the same HashTableV2 with LookupTableSizeV2.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 26 04:26:16 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/legalize-tf-hashtables.mlir

      "tf.LookupTableImportV2"(%0, %cst, %cst_0) {device = ""} : (tensor<!tf_type.resource>, tensor<3x!tf_type.string>, tensor<3xi64>) -> ()
      func.return
      // CHECK-LABEL: hashtable_import
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/hash_table_v1.py

    # CHECK-NEXT: [[R6:%.*]] = "tf.Const"()
    # CHECK-NEXT: [[R5:%.*]] = "tf.Const"() <{value = dense<[1, 2,
    # CHECK-NEXT: [[R7:%.*]] = "tf.HashTableV2"()
    # CHECK-SAME: shared_name = "[[hash_table:.*]]"
    # CHECK-NEXT: "tf.LookupTableImportV2"([[R7]], [[R5]], [[R6]])
    
    # CHECK:      func {{@[a-zA-Z_0-9]+}}(
    # CHECK-SAME: [[ARG0:%.*]]: tensor<i32>
    # CHECK-SAME: [[ARG1:%.*]]: tensor<!tf_type.resource
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/legalize-tf-variables.mlir

        "tf.LookupTableImportV2"(%0, %cst, %cst_0) {device = ""} : (tensor<!tf_type.resource>, tensor<4xi64>, tensor<4x!tf_type.string>) -> ()
        %handle_0 = "tf.VarHandleOp"() {container="c", shared_name="a"} : () -> tensor<!tf_type.resource<tensor<1x10xf32>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/optimize_tf_control_flow_side_effect.mlir

      %handle = "tf.HashTableV2"() {container = "", key_dtype = i32, shared_name = "hash_table", use_node_name_sharing = false, value_dtype = i32} : () -> tensor<!tf_type.resource>
      "tf.LookupTableImportV2"(%handle, %keys, %values) : (tensor<!tf_type.resource>, tensor<4xi32>, tensor<4xi32>) -> ()
      func.return
    }
    
    func.func private @cond(%arg: tensor<i32>, %handle: tensor<!tf_type.resource>) -> tensor<i1> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 01:15:55 UTC 2023
    - 10.2K bytes
    - Viewed (0)
Back to top