- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for add_to_collection (0.35 sec)
-
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) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/util/internal/GUtilTest.groovy
} def "adds to collection"() { def list = [0] when: addToCollection(addToCollection(list, [1, 2]), [2, 3]) then: list == [0, 1, 2, 2, 3] } def "adds empty list to collection"() { expect: addToCollection([], []) == [] addToCollection([1], []) == [1] } def "adds to collection preventing nulls"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 9.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/graph/CachingDirectedGraphWalker.java
add(Arrays.asList(values)); return this; } /** * Adds some start nodes. */ public CachingDirectedGraphWalker<?, ?> add(Iterable<? extends N> values) { GUtil.addToCollection(startNodes, values); return this; } /** * Calculates the set of values of nodes reachable from the start nodes. */ public Set<T> findValues() { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 8.3K bytes - Viewed (0)