Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for asset_filepaths (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/hash_table_asset_v1.py

      table = tf.lookup.StaticVocabularyTable(table_initializer, num_oov_buckets=10)
      vocab_file_tensor = tf.convert_to_tensor(
          vocabulary_file, tf.string, name='asset_filepath')
      tf.add_to_collection(tf.GraphKeys.ASSET_FILEPATHS, vocab_file_tensor)
    
      x = tf.placeholder(tf.string, shape=(), name='input')
      r = table.lookup(x)
    
      tensor_info_x = tf.compat.v1.saved_model.utils.build_tensor_info(x)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

              signature_def_key,
              tags,
              inputs=inputs,
              outputs=outputs,
              init_op=lookup_ops.tables_initializer(),
              assets_collection=ops.get_collection(ops.GraphKeys.ASSET_FILEPATHS),
          )
    
        return inputs, outputs
    
      def _create_and_save_file_init_hash_table_model_tf1(
          self,
          output_path: str,
          tags: Collection[str],
          signature_def_key: str,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
Back to top