- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 46 for ucast (0.05 sec)
-
platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/ProxyDispatchAdapter.java
} } catch (ClassNotFoundException e) { // Ignore } } types.add(extraType); } source = type.cast(Proxy.newProxyInstance(classLoader, types.toArray(new Class<?>[0]), new DispatchingInvocationHandler(type, dispatch))); } public Class<T> getType() { return type; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/ifrt/lower_to_ifrt_restore_variable.mlir
"tf.AssignVariableOp"(%1, %2) : (tensor<!tf_type.resource<tensor<3x1xf32>>>, tensor<3x1xf32>) -> () return } } // ----- // variable with cast // CHECK-LABEL: func.func @restore_with_cast() { // CHECK-NEXT: [[PREFIX:%.*]] = "tf.Const"() <{value = dense<"restore_ariables"> : tensor<!tf_type.string>}> : () -> tensor<!tf_type.string>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 8.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h
} // Returns true if `value` is compile-time constant and its splat value equals // to `raw_value`. template <typename T> bool IsConstantValueOf(Value value, T raw_value) { auto element_type = mlir::cast<ShapedType>(value.getType()).getElementType(); if (mlir::isa<FloatType>(element_type)) { DenseFPElementsAttr float_attr; if (matchPattern(value, m_Constant(&float_attr)) && float_attr.isSplat() &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 4K bytes - Viewed (0) -
platforms/jvm/language-java/src/main/java/org/gradle/language/java/internal/JavaLanguageServices.java
@Override public <T> T create(Class<T> toolType, JavaToolchain toolchain) { if (toolType == JavadocTool.class) { return toolType.cast(new JavadocToolAdapter(generator, toolchain)); } return null; } }; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.cc
} // Builds a `TorchAvgPoolData` from composite op. TorchAvgPoolData GetTorchAvgPoolData(CompositeOp op) { auto composite_attrs = op.getCompositeAttributes(); TorchAvgPoolData data; auto op_type = mlir::cast<RankedTensorType>(op.getOperand(0).getType()); data.n = op_type.getShape()[0]; data.c = op_type.getShape()[1]; data.h_in = op_type.getShape()[2]; data.w_in = op_type.getShape()[3];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:16:05 UTC 2024 - 9.2K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/contracts/descriptorContractUtils.kt
): T = constructor(variableReference.descriptor.toKtSymbol(analysisContext) as KaParameterSymbol) // Util function to avoid hard coding names of the classes. Type inference will do a better job figuring out the best type to cast to. // This visitor isn't type-safe anyway private inline fun <reified T> ContractDescriptionElement.accept() = accept(this@ContractDescriptionElementToAnalysisApi, Unit) as T
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 5.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/contracts/firContractUtils.kt
else firFunctionSymbol.valueParameters[valueParameterReference.parameterIndex] ) // Util function to avoid hard coding names of the classes. Type inference will do a better job figuring out the best type to cast to. // This visitor isn't type-safe anyway private inline fun <reified T> ConeContractDescriptionElement.accept() = accept(this@ConeContractDescriptionElementToAnalysisApi, Unit) as T
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirVisibilityChecker.kt
val effectiveSession = if (positionModule is KtDanglingFileModule && candidateModule != positionModule) { @Suppress("USELESS_CAST") // Smart cast is only available in K2 val contextModule = (positionModule as KtDanglingFileModule).contextModule firResolveSession.getSessionFor(contextModule) } else {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Mon May 27 09:59:11 UTC 2024 - 5.7K bytes - Viewed (0) -
subprojects/diagnostics/src/main/java/org/gradle/api/reporting/dependencies/HtmlDependencyReportTask.java
} private static Stream<? extends ConfigurationDetails> getConfigurationsWhichCouldHaveDependencyInfo(Project project) { return project.getConfigurations().stream() .map(ConfigurationInternal.class::cast) .filter(c -> c.isDeclarableByExtension()) .map(ConfigurationDetails::of); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 13:33:20 UTC 2024 - 6.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/result/DefaultResolutionResultTest.groovy
then: result.allDependencies == [dep1, dep2] as Set result.allComponents == [root, dep1.selected, dep2.selected] as Set } def "doesn't throw class cast exception when the source of the edge is a project"() { def projectId = new DefaultProjectComponentIdentifier( Stub(BuildIdentifier), Stub(Path), Stub(Path),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 17:36:01 UTC 2024 - 6.4K bytes - Viewed (0)