Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hash_table_1 (0.13 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_hashtable_ops_as_args.mlir

        return %1 : tensor<*xi64>
      }
    
    // Check that the caller is updated.
    // CHECK: func.func @main
    // CHECK: %[[HASHTABLE_1:.*]] = "tf.HashTableV2"()
    // CHECK: %[[HASHTABLE_2:.*]] = "tf.HashTableV2"()
    // CHECK: %[[OUT_2:.*]] = "tf.PartitionedCall"(%arg0, %[[HASHTABLE_1]], %[[HASHTABLE_2]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 15 05:41:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

    // HashTable is initialized if it appears in the initializer since it can't
    // check the actual value.
    bool IsResourceInitialized(ModuleOp module_op, Operation* hash_table) {
      StringRef shared_name = GetSharedName(hash_table);
      if (shared_name.empty()) return false;
    
      for (func::FuncOp init_func_op :
           tf_saved_model::GetInitializerFunctions(module_op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/legalize-tf-hashtables.mlir

      // CHECK-NEXT:  [[HASH_TABLE:%.*]] = "tfl.hashtable"() <{key_dtype = !tf_type.string, table_id = -1323619995 : i32, value_dtype = i64}> : () -> tensor<1x!tf_type.resource>
      // CHECK-NEXT:   "tfl.hashtable_import"([[HASH_TABLE]], [[CST]], [[CST_1]]) : (tensor<1x!tf_type.resource>, tensor<3x!tf_type.string>, 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)
  4. 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