- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 4,693 for Cast (1.65 sec)
-
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) -
tensorflow/compiler/mlir/lite/utils/lstm_utils.cc
/*effective_hidden_scale_intermediate=*/mlir::TypeAttr()); // Cast the static shaped lstm result to FuncOp's signature - // Ranked but unknown 2nd dimension to support stacking these. SmallVector<int64_t, 2> func_output_shape = {1, tensorflow::kTFDynamicSize}; auto func_result_type = tensorflow::GetTypeFromTFTensorShape( func_output_shape, mlir::cast<RankedTensorType>(input_.getType()).getElementType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 36.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/mlrt/tpu_conversions.mlir
// CHECK: [[cast:%.*]] = tf_mlrt.executeop( // CHECK-SAME: ReadVariableOp %v2 = "tf.ReadVariableOp"(%arg3) {__op_key = 2: i32, device = "/CPU:0"} : (tensor<*x!tf_type.resource>) -> tensor<i32> // CHECK: [[cast:%.*]] = tf_mlrt.executeop.device // CHECK-SAME: Cast %0 = "tf.Cast"(%arg0) {__op_key = 3: i32, device = "/device:CPU:0"} : (tensor<i32>) -> tensor<f32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 04 21:25:31 UTC 2023 - 11K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/AbstractDependencyImpl.java
configureAction.execute(versionConstraint); return Cast.uncheckedCast(this); } @Override public T attributes(Action<? super AttributeContainer> configureAction) { configureAction.execute(attributes); return Cast.uncheckedCast(this); } @Override public String getReason() { return reason; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3K 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) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.td
CPred<"quant::ReshapableTo1DTensor($0.getType().cast<ShapedType>())">, "Checks if the value dims are all ones except the right most dim">; def ReshapeTo1DTensor : NativeCodeCall< "quant::ReshapeTo1DTensor($_builder, $_loc, $0)">; def HasEqualShape : Constraint<CPred< "$0.getType().cast<ShapedType>().hasRank() && " "$1.getType().cast<ShapedType>().hasRank() && "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 03:24:59 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc
// etc. constexpr int64_t kLookupTableFindCostScale = 8; constexpr int64_t kLookupTableFindStringKeyCostScale = 16; auto value_type = mlir::cast<mlir::TensorType>(op.getValues().getType()); auto key_type = mlir::cast<mlir::TensorType>(op.getKeys().getType()); int64_t output_size = InferTensorSize(context, value_type); int64_t cost = kLookupTableFindCostScale * output_size;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.6K 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) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelReference.java
return Cast.uncheckedCast(new ModelReference<T>(path, type, null, null, description)); } public static <T> ModelReference<T> of(String path, ModelType<T> type, String description) { return of(ModelPath.path(path), type, description); } public static <T> ModelReference<T> of(ModelPath path, ModelType<T> type) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.4K bytes - Viewed (0)