- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for NoneType (0.41 sec)
-
tensorflow/compiler/mlir/lite/utils/utils.td
NativeCodeCall<"TransposeLastTwoDims($0[0].getType())">; def AreLastTwoDimsTransposed : Constraint<CPred< "TFL::AreLastTwoDimsTransposed($0)">>; // Checks if the param passed is of NoneType. def IsNoneType : Constraint<CPred<"$0.getType().isa<NoneType>()">>; def ConstantLikePred : CPred<"::mlir::matchPattern($0, ::mlir::m_Constant())">; def IsConstantLike : Constraint<ConstantLikePred>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc
#include "tensorflow/compiler/mlir/tensorflow/utils/cluster_util.h" namespace mlir { namespace TFL { namespace common { bool IsConstantOrNone(Operation* op) { return (op->getNumResults() == 1 && mlir::isa<NoneType>(op->getResult(0).getType())) || matchPattern(op, m_Constant()) || isa<QConstOp>(op); } // Pre-order traverse, adding results and BlockArgs to `been_defined` and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirUsualClassType.kt
builder.classifierBuilder.buildClassLikeSymbolByLookupTag(coneType.lookupTag) ?: errorWithFirSpecificEntries("Class was not found", coneType = coneType) } override val qualifiers by cached { UsualClassTypeQualifierBuilder.buildQualifiers(coneType, builder) } override val typeArguments: List<KaTypeProjection> get() = withValidityAssertion { qualifiers.last().typeArguments }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 2.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirTypeParameterType.kt
?: errorWithFirSpecificEntries("Type parameter was not found", coneType = coneType) } override val annotations: KaAnnotationList by cached { KaFirAnnotationListForType.create(coneType, builder) } override val nullability: KaTypeNullability get() = withValidityAssertion { coneType.nullability.asKtNullability() }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 2.2K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirTypeInfoProvider.kt
} override fun canBeNull(type: KaType): Boolean = (type as KaFirType).coneType.canBeNull(analysisSession.useSiteSession) override fun isDenotable(type: KaType): Boolean { val coneType = (type as KaFirType).coneType return analysisSession.useSiteSession.typeApproximator.approximateToSuperType( coneType,
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 2.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirCapturedType.kt
internal class KaFirCapturedType( override val coneType: ConeCapturedType, private val builder: KaSymbolByFirBuilder, ) : KaCapturedType(), KaFirType { override val token: KaLifetimeToken get() = builder.token override val nullability: KaTypeNullability get() = withValidityAssertion { coneType.nullability.asKtNullability() } override val projection: KaTypeProjection
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 1.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirType.kt
import org.jetbrains.kotlin.fir.types.ConeNullability internal interface KaFirType : KaLifetimeOwner { val coneType: ConeKotlinType } internal fun KaFirType.typeEquals(other: Any?): Boolean { if (other !is KaFirType) return false return this.coneType == other.coneType } internal fun KaFirType.typeHashcode(): Int = coneType.hashCode() internal fun ConeNullability.asKtNullability(): KaTypeNullability = when (this) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/KtFirAnnotationListForType.kt
} companion object { fun create(coneType: ConeKotlinType, builder: KaSymbolByFirBuilder): KaAnnotationList { return if (coneType.customAnnotations.isEmpty()) { KaEmptyAnnotationList(builder.token) } else { KaFirAnnotationListForType(coneType, builder) } } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 3.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirClassErrorType.kt
} override val abbreviatedType: KaUsualClassType? by cached { builder.buildAbbreviatedType(coneType) } override fun equals(other: Any?) = typeEquals(other) override fun hashCode() = typeHashcode() override fun toString() = coneType.renderForDebugging()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 3.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/types/KtFirFunctionalType.kt
?: errorWithFirSpecificEntries("Class was not found", coneType = coneType) } override val typeArguments: List<KaTypeProjection> get() = withValidityAssertion { qualifiers.last().typeArguments } override val qualifiers: List<KaClassTypeQualifier.KaResolvedClassTypeQualifier> by cached { UsualClassTypeQualifierBuilder.buildQualifiers(coneType, builder) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 4.4K bytes - Viewed (0)