Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 145 for value_dtype (0.2 sec)

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

      %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/lite/tests/mlir2flatbuffer/hashtable_resource.mlir

    // CHECK: }, {
    // CHECK-EMPTY
    // CHECK: } ]
    // CHECK: }
    
    func.func @main() -> tensor<*x!tf_type.resource> {
      %0 = "tf.HashTableV2"() {container = "" , shared_name= "table", use_node_name_sharing = false, key_dtype = i32, value_dtype = i32 } : () -> tensor<*x!tf_type.resource>
      func.return %0 : tensor<*x!tf_type.resource>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:31:32 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/optimize_tf_control_flow_side_effect.mlir

    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)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir

          %out_1, %ctl_2 = tf_executor.island wraps "tf.HashTableV2"() {container = "", device = "", key_dtype = !tf_type.string, shared_name = "1", use_node_name_sharing = false, value_dtype = i64} : () -> tensor<!tf_type.resource>
          %ctl_3 = tf_executor.island wraps "tf.LookupTableImportV2"(%out_1, %out, %out_0) {device = ""} : (tensor<!tf_type.resource>, tensor<1x!tf_type.string>, tensor<1xi64>) -> ()
    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/tfrt/tests/hoist_invariant_ops_mlrt.mlir

      // CHECK-DAG: [[r:%.*]] = "tf.LookupTableFindV2"([[v0]]
      // CHECK-DAG: return [[v1]], [[r]]
      %0 = "tf.HashTableV2"() {container = "", device = "", key_dtype = !tf_type.string, shared_name = "x", use_node_name_sharing = false, value_dtype = i64} : () -> tensor<!tf_type.resource>
      %1 = "tf.LookupTableSizeV2"(%0) {device = ""} : (tensor<!tf_type.resource>) -> tensor<i64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_duplicate_resource_ops.mlir

        %outputs, %control = tf_executor.island wraps "tf.HashTableV2"() {container = "", device = "", key_dtype = !tf_type.string, shared_name = "hash_table_ce3dfbfc-7367-4d62-9d48-d13bf8125391", use_node_name_sharing = false, value_dtype = i64} : () -> tensor<!tf_type.resource>
        %outputs_0, %control_1 = tf_executor.island wraps "tf.LookupTableSizeV2"(%outputs) {device = ""} : (tensor<!tf_type.resource>) -> tensor<i64>
    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/tensorflow/tests/tf_saved_model/hash_table_v1.py

          initializer=tf.random_normal_initializer(),
          trainable=True)
      table_initializer = tf.lookup.KeyValueTensorInitializer(
          keys=[1, 2, 3, 4],
          values=[5, 6, 7, 8],
          key_dtype=tf.int32,
          value_dtype=tf.float32)
      table = tf.lookup.StaticHashTable(
          table_initializer, default_value=tf.constant(0.0))
    
      x = tf.placeholder(tf.int32, shape=(), name='input')
      y = table.lookup(x)
      r = tf.add(y, z)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/remove_var_init_by_const.mlir

        %cst_0 = "tf.Const"() {value = dense<1.000000e+00> : tensor<2xf32>} : () -> tensor<2xf32>
        // Note: this is a contrived example and is an invalid input.
        %var_0 = "tf.HashTableV2"() {key_dtype = i64, value_dtype = !tf_type.string} : () -> tensor<!tf_type.resource>
        "tf.AssignVariableOp"(%var_0, %cst_0) : (tensor<!tf_type.resource>, tensor<2xf32>) -> ()
        return
      }
      // CHECK: @init_func_restore_op
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_remove_vars_in_session_initializer.mlir

        "tf.AssignVariableOp"(%0, %1) : (tensor<*x!tf_type.resource<tensor<!tf_type.string>>>, tensor<!tf_type.string>) -> ()
        %2 = "tf.HashTableV2"() {key_dtype = !tf_type.string, shared_name = "table", value_dtype = i64} : () -> tensor<!tf_type.resource>
        %3 = "tf.ReadVariableOp"(%0) : (tensor<*x!tf_type.resource<tensor<!tf_type.string>>>) -> tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 00:22:36 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

              %o, %c = tf_executor.island wraps "tf.HashTableV2"() <{container = "", key_dtype = !tf_type.string, shared_name = "vocab_file.txt", use_node_name_sharing = false, value_dtype = i64}> {device = ""} : () -> tensor<!tf_type.resource>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top