- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 269 for scast (0.32 sec)
-
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/Providers.java
ValueSupplier.SideEffect<?> sideEffect = value.getSideEffect(); return sideEffect == null ? provider : provider.withSideEffect(Cast.uncheckedCast(sideEffect)); } } public static <T> ProviderInternal<T> notDefined() { return Cast.uncheckedCast(NULL_PROVIDER); } public static <T> ProviderInternal<T> of(T value) { if (value == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 15 20:21:32 UTC 2023 - 7.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/quantization_unit_loc.cc
StringRef caller_name = mlir::cast<NameLoc>(callsite_loc.getCaller()).getName().strref(); return caller_name.starts_with(kQuantizationUnitPrefix) && caller_name.ends_with(kQuantizationUnitSuffix); } std::optional<QuantizationUnitLoc::QuantizationUnit> FindQuantizationUnitFromLoc(Location loc) { if (isa<QuantizationUnitLoc>(loc)) { Location caller = mlir::cast<CallSiteLoc>(loc).getCaller();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/variables_utils.cc
type = op->getResult(0).getType().cast<ShapedType>(); } else if (llvm::isa<TF::AssignVariableOp>(op)) { type = op->getOperand(1).getType().cast<ShapedType>(); } else if (llvm::isa<TF::VarHandleOp>(op)) { type = op->getResult(0) .getType() .cast<ShapedType>() .getElementType() .cast<TF::TensorFlowTypeWithSubtype>() .GetSubtypes()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 21 19:32:03 UTC 2021 - 2.6K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/tasks/ExtractSymbols.java
setDidWork(result.getDidWork()); } private Compiler<SymbolExtractorSpec> createCompiler() { NativePlatformInternal targetPlatform = Cast.cast(NativePlatformInternal.class, this.targetPlatform.get()); NativeToolChainInternal toolChain = Cast.cast(NativeToolChainInternal.class, getToolChain().get()); PlatformToolProvider toolProvider = toolChain.select(targetPlatform);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.7K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/api/internal/specs/ExplainingSpecs.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.api.internal.specs; import org.gradle.internal.Cast; public class ExplainingSpecs { private static final ExplainingSpec<Object> SATISFIES_ALL = new ExplainingSpec<Object>() { @Override public boolean isSatisfiedBy(Object element) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 20 10:28:05 UTC 2020 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.cc
.cast<TensorType>() .getElementType() .cast<ResourceType>(); if (resource_type.getSubtypes().size() == 1) return resource_type.getSubtypes().front(); return UnrankedTensorType::get(element_type); } static bool HasResourceSubtype(Value resource) { return resource.getType() .cast<TensorType>() .getElementType()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 8.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/FactoryBasedStructNodeInitializer.java
this.implementationInfo = implementationInfo; } @Override protected void initializePrivateData(MutableModelNode modelNode) { ModelType<T> delegateType = Cast.uncheckedCast(implementationInfo.getDelegateType()); T instance = Cast.uncheckedCast(implementationInfo.create(modelNode)); modelNode.setPrivateData(delegateType, instance); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ChildNodeInitializerStrategyAccessors.java
*/ package org.gradle.model.internal.core; import org.gradle.internal.Cast; import org.gradle.model.internal.type.ModelType; public class ChildNodeInitializerStrategyAccessors { private static final ModelType<ChildNodeInitializerStrategy<?>> CHILD_NODE_INITIALIZER_STRATEGY_MODEL_TYPE = Cast.uncheckedCast(ModelType.of(ChildNodeInitializerStrategy.class));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.7K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/tasks/StripSymbols.java
setDidWork(result.getDidWork()); } private Compiler<StripperSpec> createCompiler() { NativePlatformInternal targetPlatform = Cast.cast(NativePlatformInternal.class, this.targetPlatform.get()); NativeToolChainInternal toolChain = Cast.cast(NativeToolChainInternal.class, getToolChain().get()); PlatformToolProvider toolProvider = toolChain.select(targetPlatform);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
return cast(type, put(type, value)); } @Override @CheckForNull public <T extends @NonNull B> T getInstance(Class<T> type) { return cast(type, get(type)); } @CanIgnoreReturnValue @CheckForNull private static <T> T cast(Class<T> type, @CheckForNull Object value) { return Primitives.wrap(type).cast(value); } private Object writeReplace() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 6.9K bytes - Viewed (0)