- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for hash_table_1 (0.35 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/hash_table_v1.py
# See the License for the specific language governing permissions and # limitations under the License. # ============================================================================== # RUN: %p/hash_table_v1 | FileCheck %s # pylint: disable=missing-docstring,line-too-long import tensorflow.compat.v1 as tf from tensorflow.compiler.mlir.tensorflow.tests.tf_saved_model import common_v1
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/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) -
tensorflow/compiler/mlir/tensorflow/tests/init_text_file_to_import_saved_model.mlir
func.func @init_all_tables() { %cst = arith.constant dense<"tokens.txt"> : tensor<!tf_type.string> %0 = "tf.HashTableV2"() {container = "", device = "", key_dtype = !tf_type.string, shared_name = "hash_table_/tmp/vocab.txt_-2_-1", use_node_name_sharing = false, value_dtype = i64} : () -> tensor<!tf_type.resource>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/init_text_file_to_import_invalid.mlir
func.func @init_all_tables() { %cst = arith.constant dense<"vocab_file_does_not_exist.txt"> : tensor<!tf_type.string> %0 = "tf.HashTableV2"() {container = "", device = "", key_dtype = !tf_type.string, shared_name = "hash_table_/tmp/vocab.txt_-2_-1", use_node_name_sharing = false, value_dtype = i64} : () -> tensor<!tf_type.resource>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 2.4K bytes - Viewed (0) -
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 } } // ----- // Test running the pass on a module that does not have // tf_saved_model.semantics.
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/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) -
tensorflow/compiler/mlir/tensorflow/tests/init_text_file_to_import.mlir
func.func @init_all_tables() { %cst = arith.constant dense<"%FILE_PLACEHOLDER"> : tensor<!tf_type.string> %0 = "tf.HashTableV2"() {container = "", device = "", key_dtype = !tf_type.string, shared_name = "hash_table_/tmp/vocab.txt_-2_-1", use_node_name_sharing = false, value_dtype = i64} : () -> tensor<!tf_type.resource>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/BUILD
py_strict_binary( name = "keras", srcs = ["keras.py"], deps = [ ":common", "//tensorflow:tensorflow_py", ], ) py_strict_binary( name = "hash_table_v1", srcs = ["hash_table_v1.py"], deps = [ ":common_v1", "//tensorflow:tensorflow_py", ], ) py_strict_binary( name = "include_variables_in_init_v1",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 17 20:57:18 UTC 2023 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/remove_var_init_by_const.mlir
return } // CHECK: @init_func_restore_op // CHECK-SAME: tf_saved_model.initializer_type = "restore_op" // CHECK: %[[CST:.*]] = "tf.Const"() // CHECK-NEXT: %[[HASH_TABLE:.*]] = "tf.HashTableV2"() // CHECK-NEXT: "tf.AssignVariableOp"(%[[HASH_TABLE]], %[[CST]]) } // ----- // Nothing happens when there are no `tf_saved_model.session_initializer`. // CHECK-LABEL: module
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/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)