Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for init_all_tables (0.19 sec)

  1. tensorflow/compiler/mlir/lite/tests/insert_call_once_op.mlir

    // Tests that new call_once op is added when there is a session initializer.
    
    module attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = [@init_all_tables]} : () -> ()
    
      func.func @init_all_tables()
      attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer"]} {
        %cst = arith.constant dense<[1, 2, 3, 4]> : tensor<4xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/init_text_file_to_import_saved_model.mlir

    // RUN: tf-opt -tf-init-text-file-to-import-saved-model-test %s | FileCheck %s
    
    // Tests that the tf.InitializeTableFromTextFileV2 op are inlined.
    
    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)
  3. tensorflow/compiler/mlir/lite/tests/legalize-tf-variables.mlir

    }
    
    // -----
    
    // Test for case with existing session initialize op.
    module attributes {tf_saved_model.semantics} {
      // CHECK-LABEL: init_all_tables
      func.func @init_all_tables()
      attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer"]} {
        %cst = arith.constant dense<[1, 2, 3, 4]> : tensor<4xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/init_text_file_to_import_invalid.mlir

    // RUN: tf-opt -split-input-file -verify-diagnostics -tf-init-text-file-to-import %s | FileCheck %s
    
    // Tests that the given vocabulary file does not exist.
    
    func.func @init_all_tables() {
      %cst = arith.constant dense<"vocab_file_does_not_exist.txt"> : tensor<!tf_type.string>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_hashtable_ops_as_args.mlir

    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 1506 : i32}, tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = [@init_all_tables]} : () -> ()
      func.func @init_all_tables() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_init_all_tables"], tf_saved_model.initializer_type = "init_op"} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 15 05:41:44 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.cc

          // clang-format off
          // Skip session initializer functions which are present in saved models.
          // For example:
          //   "tf_saved_model.session_initializer"() {initializers = [@init_all_tables]} : () -> () // NOLINT
          //   func @init_all_tables() attributes {tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_init_all_tables"]} { // NOLINT
          //     "tf.NoOp"() {device = ""} : () -> ()
          //     return
          //   }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/init_text_file_to_import.mlir

    // RUN: tf-opt -tf-init-text-file-to-import-test %s | FileCheck %s
    
    // Tests that the tf.InitializeTableFromTextFileV2 op are inlined.
    
    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)
Back to top