- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for vocab (0.1 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/init_text_file_to_import_saved_model.mlir
} // Tests that the tf.InitializeTableFromTextFileV2 op with explicit vocab size. func.func @init_all_tables_with_explicit_vocab_size() { %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.mlir
} // Tests that the tf.InitializeTableFromTextFileV2 op with explicit vocab size. func.func @init_all_tables_with_explicit_vocab_size() { %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/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/transforms/init_text_file_to_import_test_pass.cc
}; void InitTextFileToImportTestPass::runOnOperation() { ModuleOp module = getOperation(); // Create a temporary vocab file. int fd; SmallString<256> filename; std::error_code error_code = llvm::sys::fs::createTemporaryFile("text", "vocab", fd, filename); if (error_code) return signalPassFailure(); llvm::ToolOutputFile temp_file(filename, fd); temp_file.os() << "apple\n";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 04 09:19:38 UTC 2022 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/hash_table_asset_v1.py
# 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.""" tmpdir = tempfile.mkdtemp() vocabulary_file = os.path.join(tmpdir, 'tokens.txt') with tf.io.gfile.GFile(vocabulary_file, 'w') as f: for entry in vocabulary:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/antlr2/GenerationPlanBuilder.java
grammarMetadata.getImportVocab()); if (importVocabGrammarFileMetadata == null) { LOGGER.warn("unable to locate grammar exporting specified import vocab [" + grammarMetadata.getImportVocab() + "]"); } else if (!importVocabGrammarFileMetadata.getFilePath().equals(grammarFileMetadata.getFilePath())) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 14 14:52:10 UTC 2023 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py
raw_vocab = io_ops.read_file(vocab_file) vocabs = ragged_string_ops.string_split_v2( string_ops.string_strip(raw_vocab), sep=',' ) # Initialize the vocab table. Each comma-separated word in vocab_file.txt # corresponds to the numeric identifiers in `values`. kv_init = lookup_ops.KeyValueTensorInitializer( keys=vocabs, values=np.array([0, 1, 2]), value_dtype=dtypes.int64 )
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 51.2K bytes - Viewed (0) -
docs/de/docs/deployment/concepts.md
In den meisten Fällen möchten Sie diese Schritte jedoch nur **einmal** ausführen. Sie möchten also einen **einzelnen Prozess** haben, um diese **Vorab-Schritte** auszuführen, bevor Sie die Anwendung starten.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 20:16:25 UTC 2024 - 20.6K bytes - Viewed (0) -
docs/de/docs/alternatives.md
Es erreicht etwas Ähnliches wie Flask-apispec. Es verfügt über ein integriertes Dependency Injection System, welches von Angular 2 inspiriert ist. Erfordert ein Vorab-Registrieren der „Injectables“ (wie alle anderen Dependency Injection Systeme, welche ich kenne), sodass der Code ausschweifender wird und es mehr Codeverdoppelung gibt.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 20:26:28 UTC 2024 - 26.7K bytes - Viewed (0) -
docs/de/docs/advanced/generate-clients.md
<img src="/img/tutorial/generate-clients/image07.png"> Wie Sie sehen, haben die Methodennamen jetzt den Tag und dann den Funktionsnamen, aber keine Informationen aus dem URL-Pfad und der HTTP-Operation. ### Vorab-Modifikation der OpenAPI-Spezifikation für den Client-Generator Der generierte Code enthält immer noch etwas **verdoppelte Information**.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Apr 03 03:42:11 UTC 2024 - 12K bytes - Viewed (0)