- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 50 for NoneType (0.16 sec)
-
tensorflow/cc/experimental/libtf/value.h
TF_UNION_ACCESS_INSTANCE(impl::String, s); TF_UNION_ACCESS_INSTANCE(impl::TaggedValueTensor, tensor); TF_UNION_ACCESS_INSTANCE(impl::TensorSpec, tensor_spec); #undef TF_UNION_ACCESS_INSTANCE /// The union accessor for `NoneType`. template <> struct TaggedValue::UnionAccess<impl::None> { static impl::None& unsafe_reference(TaggedValue& t) { return None::GetInstance(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:23:45 UTC 2024 - 20.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc
} LogicalResult EnsureBias(Operation* op, int bias_idx, PatternRewriter& rewriter) { auto bias = op->getOperand(bias_idx); if (!mlir::isa<NoneType>(bias.getType())) return failure(); // Proceed to create a zero bias. auto output = op->getResult(0); auto output_type = mlir::dyn_cast_or_null<RankedTensorType>(output.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
// on failure. auto build_tensor_and_buffer = [&](Value value, const int subgraph_index, const std::string& tensor_name) { // NoneType represents optional and may be skipped here. if (mlir::isa<NoneType>(value.getType())) { return true; } tensor_index_map.insert({value, tensors.size()}); tensor_index_map_[subgraph_index][tensor_name] = tensors.size();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
if (op_infos.empty()) return parser.emitError(loc) << " expects at least one data operand"; Attribute frame; if (parser.parseKeyword("frame") || parser.parseAttribute(frame, NoneType::get(context), "frame_name", result.attributes)) return failure(); Type i64 = parser.getBuilder().getIntegerType(64); if (parser.parseOptionalKeyword("parallel_iterations")) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
if (getFusedActivationFunction() != "NONE") return failure(); if (getWeightsFormat() != "DEFAULT") return failure(); // Bias tensor is optional. const bool has_bias = !(!getBias() || getBias().getType().isa<NoneType>()); // Get the tensors. DenseElementsAttr input_tensor, weights_tensor, bias_tensor; if (!matchPattern(getInput(), m_Constant(&input_tensor)) ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K 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/components/KtFirTypeProvider.kt
override fun approximateToSuperPublicDenotableType(type: KaType, approximateLocalTypes: Boolean): KaType? { require(type is KaFirType) val coneType = type.coneType val approximatedConeType = PublicTypeApproximator.approximateTypeToPublicDenotable( coneType, rootModuleSession, approximateLocalTypes = approximateLocalTypes, ) return approximatedConeType?.asKtType()
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 10:25:23 UTC 2024 - 16.4K 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)