- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 31 for asSet (0.07 sec)
-
android/guava/src/com/google/common/base/Optional.java
* * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8's * {@code Optional} class. However, this common usage: * * <pre>{@code * for (Foo foo : possibleFoo.asSet()) { * doSomethingWith(foo); * } * }</pre> * * ... can be replaced with: * * <pre>{@code * possibleFoo.ifPresent(foo -> doSomethingWith(foo)); * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 13K bytes - Viewed (0) -
guava/src/com/google/common/base/Optional.java
* * <p><b>Comparison to {@code java.util.Optional}:</b> this method has no equivalent in Java 8's * {@code Optional} class. However, this common usage: * * <pre>{@code * for (Foo foo : possibleFoo.asSet()) { * doSomethingWith(foo); * } * }</pre> * * ... can be replaced with: * * <pre>{@code * possibleFoo.ifPresent(foo -> doSomethingWith(foo)); * }</pre> *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 14.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py
dst_asset_file = file_io.join(curr_dst_dir, asset_file_name) file_io.copy_v2(src_asset_file, dst_asset_file) logging.info( 'Copied asset file: %s -> %s', src_asset_file, dst_asset_file ) def _validate_representative_dataset( representative_dataset: rd.RepresentativeDatasetOrMapping, signature_keys: Collection[str], ) -> None:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:32:11 UTC 2024 - 27.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc
return RankedTensorType::get( {}, TF::ResourceType::get({type}, type.getContext())); } if (auto asset = llvm::dyn_cast<AssetOp>(op)) { return RankedTensorType::get({}, TF::StringType::get(asset.getContext())); } op->emitError() << "unknown symbol operation"; return {}; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir
// Check that the initializers list is empty. // CHECK: "tf_saved_model.session_initializer"() // CHECK-SAME: initializers = [] "tf_saved_model.asset"() {filename = "assets/file.txt", sym_name = "__tf_saved_model_asset0_file.txt"} : () -> () func.func @NoOp(%arg: tensor<!tf_type.string> {tf_saved_model.bound_input = @__tf_saved_model_asset0_file.txt})
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 08:49:35 UTC 2023 - 29.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_passes.cc
/*allow_mutable_tensors=*/pass_config.enable_tflite_variables)); } if (!saved_model_dir.empty()) { // This pass 'freezes' tf saved model asset ops and inlines as string values // in a format of the tf constant op. pass_manager->addPass( mlir::tf_saved_model::CreateFreezeAssetsPass(saved_model_dir.str())); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 18:45:51 UTC 2024 - 25.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/VariantMetadataRules.java
if (capabilitiesRules == null) { return capabilities; } DefaultMutableCapabilitiesMetadata mutableCapabilities; if (capabilities.asSet().isEmpty()) { // we must add the implicit capability here because it is assumed that if there's a rule // "addCapability" would effectively _add_ a capability, so the implicit one must not be forgotten
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 12.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/TransformStepNode.java
Map<String, String> targetAttributes = AttributesToMapConverter.convertToMap(targetComponentVariant.getAttributes()); List<Capability> capabilities = targetComponentVariant.getCapabilities().asSet().stream() .map(TransformStepNode::convertCapability) .collect(Collectors.toList()); return new DefaultPlannedTransformStepIdentity( consumerBuildPath,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 11:33:46 UTC 2024 - 15.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/AbstractRealisedModuleResolveMetadataSerializationHelper.java
private static void writeCapabilities(Encoder encoder, ImmutableCapabilities capabilities) throws IOException { ImmutableSet<ImmutableCapability> capabilitiesSet = capabilities.asSet(); encoder.writeSmallInt(capabilitiesSet.size()); for (Capability capability : capabilitiesSet) { boolean shadowed = capability instanceof ShadowedCapability; if (shadowed) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 22 04:22:29 UTC 2023 - 15.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.cc
ctx, module_op)); FailureOr<SmallVector<AssetFileDef>> asset_file_defs = quant::ConvertAssetArgs(module_op); if (failed(asset_file_defs)) { return absl::InternalError("Failed to convert asset args."); } return *asset_file_defs; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:11:25 UTC 2024 - 12.3K bytes - Viewed (0)