- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 79 for asSet (0.04 sec)
-
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classpath/DefaultClassPath.java
} @Override public boolean contains(Object o) { return asSet.contains(o); } @Override public boolean containsAll(Collection<?> c) { return asSet.containsAll(c); } @Override public int size() { return size; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py
* output_tensor is a float 2x2 matrix """ # Creates and populates an asset file. asset_dir = self.create_tempdir('assets').full_path asset_file = os.path.join(asset_dir, 'vocab_file.txt') file_io.write_string_to_file( filename=asset_file, file_content='hello,model,quantization\n' ) vocab_file = asset.Asset(asset_file) raw_vocab = io_ops.read_file(vocab_file)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 51.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.h
// the value `checkpoint_path`. // Also adds SessionInitializer op. absl::Status AddSessionInitializerAndInlineCheckpoint( ModuleOp module, absl::string_view checkpoint_path); // Creates a pass that sinks SavedModel asset filenames to constants. std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>> CreateAssetSinkingPass( llvm::StringRef saved_model_dir); } // namespace tf_saved_model } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 18 03:21:34 UTC 2024 - 1.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableRangeSet.java
* * <p><b>Note:</b> {@code a.asSet(d).equals(b.asSet(d))} does not imply {@code a.equals(b)}! For * example, {@code a} and {@code b} could be {@code [2..4]} and {@code (1..5)}, or the empty * ranges {@code [3..3)} and {@code [4..4)}. * * <p><b>Warning:</b> Be extremely careful what you do with the {@code asSet} view of a large
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 26.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/OptionalTest.java
Set<String> expected = Collections.singleton("a"); assertEquals(expected, Optional.of("a").asSet()); } public void testAsSet_absent() { assertTrue("Returned set should be empty", Optional.absent().asSet().isEmpty()); } public void testAsSet_presentIsImmutable() { Set<String> presentAsSet = Optional.of("a").asSet(); try { presentAsSet.add("b"); fail();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 18:32:41 UTC 2024 - 11.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ContiguousSetTest.java
public static Test suite() { TestSuite suite = new TestSuite(); suite.addTest( NavigableSetTestSuiteBuilder.using(new ContiguousSetGenerator()) .named("Range.asSet") .withFeatures( CollectionSize.ANY, KNOWN_ORDER, ALLOWS_NULL_QUERIES, NON_STANDARD_TOSTRING,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 19.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors.mlir
"tf_saved_model.session_initializer"() {initializers = [@legacy_init_op]} : () -> () "tf_saved_model.asset"() {filename = "assets/foo.txt", sym_name = "asset"} : () -> () // CHECK: @legacy_init_op func.func @legacy_init_op(%arg0: tensor<!tf_type.string> {tf_saved_model.bound_input = @asset}) attributes {tf_saved_model.exported_names = ["f"]} {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 9.3K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/DefaultCapabilitiesMetadata.java
this.capabilities = capabilities; } @Override public List<? extends Capability> getCapabilities() { return capabilities.asSet().asList(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 18:10:47 UTC 2023 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py
function_aliases: Function name -> function alias mapping. asset_file_defs: `AssetFileDef`s that associates the asset files and the name of the tensors to which the asset file names should be fed. The caller should make sure the asset files exist in the output saved model directory. Raises: ValueError iff the graph does not contain a valid signature or the file
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.h
// Sets up and runs the passes for exporting `module_op`. The behavior of the // exporting passes is controlled by `export_opts`. Returns `AssetFileDef`s that // associate the input arguments of @main and the asset file names. Asset file // names will be used to feed the corresponding tensors during initialization // upon model loading. // TODO: b/329206105 - Add unit tests after decomposing post processing passes.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:11:25 UTC 2024 - 6.9K bytes - Viewed (0)