- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for HashTableV2 (0.17 sec)
-
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) -
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) -
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) -
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) -
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) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir
%out_0, %ctl_1 = tf_executor.island wraps "tf.Const"() {device = "", value = dense<[1]> : tensor<1xi64>} : () -> tensor<1xi64> %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>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 29.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/hash_table_v1.py
# CHECK: func @[[init]] # CHECK-SAME: tf_saved_model.initializer_type = "init_op" # 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>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 3.2K bytes - Viewed (0) -
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 }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc
StrEq("arg_0:0")); } TEST_F(ConvertMlirModuleToExportedModelTest, InitNodeNameSetToLocOfControlOutput) { // Define a module that initializes a tf.HashTableV2 whose control output node // for the initialization is named "init_op_init_all_tables". mlir::OwningOpRef<mlir::ModuleOp> module_op = ParseModuleOpString(R"mlir( module attributes {tf_saved_model.semantics} {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:11:25 UTC 2024 - 19.6K bytes - Viewed (0) -
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."""
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 3.2K bytes - Viewed (0)