Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for hash_table_1 (0.19 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/reorder_assert.mlir

      %default = "tf.Const"() {value = dense<-1> : tensor<i64>} : () -> tensor<i64>
      %handle = "tf.HashTableV2"() {container = "", device = "/job:localhost/replica:0/task:0/device:CPU:0", key_dtype = !tf_type.string, shared_name = "hash_table", use_node_name_sharing = false, value_dtype = i64} : () -> tensor<!tf_type.resource>
    
      // CHECK: tf.LookupTableFindV2
      // CHECK-NOT: tf.Assert
      // CHECK: tf.LookupTableFindV2
      // CHECK: tf.Assert
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 10:51:48 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/optimize_tf_control_flow_side_effect.mlir

    }
    
    // CHECK-LABEL: func @set_readonly_stateless
    func.func @set_readonly_stateless(%arg: tensor<i32>, %cond: tensor<i1>) -> tensor<i32> {
      %handle = "tf.HashTableV2"() {container = "", key_dtype = i32, shared_name = "hash_table", use_node_name_sharing = false, value_dtype = i32} : () -> tensor<!tf_type.resource>
      // CHECK: tf.While
      // CHECK-SAME: is_stateless = true
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 01:15:55 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/hash_table_asset_v1.py

    # CHECK-SAME: [[ARG1:%.*]]: tensor<!tf_type.string> {tf_saved_model.bound_input = @[[asset1]]}
    # CHECK-SAME: tf_saved_model.initializer_type = "init_op"
    # CHECK-NEXT: [[R0:%.*]] = "tf.HashTableV2"()
    # CHECK-SAME: shared_name = "[[hash_table:.*]]"
    # CHECK-NEXT: "tf.InitializeTableFromTextFileV2"([[R0]], [[ARG0]])
    
    
    def write_vocabulary_file(vocabulary):
      """Write temporary vocab file for module construction."""
      tmpdir = tempfile.mkdtemp()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_main_function.mlir

    // CHECK-SAME: {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_NoOp"]}
    // CHECK: %[[HASH_TABLE0:.*]] = "tf.HashTableV2"()
    // CHECK: "tf.InitializeTableFromTextFileV2"(%[[HASH_TABLE0]], %[[ARG0]])
    // CHECK: return
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/analysis/cost_analysis.mlir

        // expected-remark@+1 {{Cost: 1}}
        %0 = "tf.HashTableV2"() {container = "", device = "/job:localhost/replica:0/task:0/device:CPU:0", key_dtype = !tf_type.string, shared_name = "hash_table", use_node_name_sharing = false, value_dtype = i64} : () -> tensor<!tf_type.resource>
        // expected-remark@+1 {{Cost: 1024}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/mlrt/parallelization.mlir

      %default = "tf.Const"() {value = dense<-1> : tensor<i64>} : () -> tensor<i64>
      %handle = "tf.HashTableV2"() {container = "", device = "/job:localhost/replica:0/task:0/device:CPU:0", key_dtype = !tf_type.string, shared_name = "hash_table", use_node_name_sharing = false, value_dtype = i64} : () -> tensor<!tf_type.resource>
    
    
      %keys = "tf.Const"() {value = dense<["a", "b", "c", "d"]> : tensor<4x!tf_type.string>} : () -> tensor<4x!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 15K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    The scalar `default_value` is the value output for keys not present in the
    table. It must also be of the same type as the table values.
      }];
    
      let arguments = (ins
        TFL_ResourceTensor:$hash_table,
        TFL_TensorOf<[I32, TFL_Str, I64]>:$keys,
        TFL_TensorOf<[F32, I32, TFL_Str, I64]>:$default_value
      );
    
      let results = (outs TFL_TensorOf<[F32, I32, TFL_Str, I64]>:$out);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top