- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for build_list (0.35 sec)
-
tensorflow/compiler/mlir/tfr/tests/canonicalize.mlir
%0 = "arith.constant"() {value = 42 : i32} : () -> i32 %1 = "arith.constant"() {value = 41 : i32} : () -> i32 %2 = "tfr.build_list"(%0, %1) : (i32, i32) -> !tfr.attr %3 = "tfr.build_list"(%0, %1) : (i32, i32) -> !tfr.attr %4 = "tfr.build_list"(%2, %3) : (!tfr.attr, !tfr.attr) -> !tfr.attr func.return %4 : !tfr.attr
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/tests/decompose.mlir
// CHECK-NEXT: %[[bl:.*]] = "tfr.build_list"(%[[id1]], %[[id2]]) : (!tfr.tensor, !tfr.tensor) -> !tfr.tensor_list // CHECK-NEXT: tfr.return %[[bl]] : !tfr.tensor_list } // CHECK-LABEL: @tf__my_max_pool tfr.func @tf__my_max_pool(%input_: !tfr.tensor, %stride_w: i64{tfr.name="stride_w"}, %stride_h: i64{tfr.name="stride_h"}) -> (!tfr.tensor) { %cst_1 = arith.constant 1 : i64
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 16.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.td
}]; } def TFR_BuildListOp : TFR_Op<"build_list", [Pure]> { let description = [{ The `build_list` operation builds a tensor list from a list of tensors, or an tfr.attr from a list of scalars. Example: ```mlir %3 = tfr.build_list(%2, %1, %0) : (tfr.tensor, tfr.tensor, tfr.tensor) -> tfr.tensor_list %3 = tfr.build_list(%2, %1, %0) : (i32, i32, i32) -> tfr.attr ``` }];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 10:54:29 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc
derived_attrs))) { return failure(); } continue; } // 2. The preceding op is a tfr.build_list op, which collects multiple // values with tensor types via the tfr.cast ops. These ops will be fused // to the current op as well, so all the tfr.cast op inputs will be inputs // to the result op.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/decompose.cc
// Create the new operands. This is mapping the operands from the target // TF ops to the TFR function arguments. If the TFR function argument is // a tensor_list, a "tfr.build_list" op is used to concat the available // TF op operands. If the TFR function argument isn't a tensor/tensor_list, // a constant is created by using the attribute stored in the TF op or the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
src/cmd/go/internal/mvs/mvs.go
// of the list are sorted by path. // // See https://research.swtch.com/vgo-mvs for details. func BuildList(targets []module.Version, reqs Reqs) ([]module.Version, error) { return buildList(targets, reqs, nil) } func buildList(targets []module.Version, reqs Reqs, upgrade func(module.Version) (module.Version, error)) ([]module.Version, error) { cmp := func(p, v1, v2 string) int { if reqs.Max(p, v1, v2) != v1 { return -1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 21:58:12 UTC 2024 - 14.5K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/analysis/FunctionCallResolver.kt
context: AnalysisContext ): List<FunctionResolutionAndBinding> { var hasErrorInReceiverResolution = false val overloads: List<FunctionResolutionAndBinding> = buildList { when (functionCall.receiver) { is Expr -> { val receiver = expressionResolver.doResolveExpression(context, functionCall.receiver) if (receiver != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 21 14:27:23 UTC 2024 - 19.9K bytes - Viewed (0) -
analysis/analysis-api-standalone/analysis-api-fir-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/services/LLStandaloneFirElementByPsiElementChooser.kt
StandardNames.getFunctionClassId(parametersCount) } buildString { append(classId.asSingleFqName().toString()) val parameters = buildList { receiverTypeRef?.let(::add) parameters.mapTo(this) { it.returnTypeRef } returnTypeRef.let(::add) }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 15 11:34:07 UTC 2024 - 14.2K bytes - Viewed (0) -
platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/schemaBuilder/FunctionExtractor.kt
extractors.asSequence().mapNotNull { it.topLevelFunction(function, preIndex) }.firstOrNull() } operator fun FunctionExtractor.plus(other: FunctionExtractor): CompositeFunctionExtractor = CompositeFunctionExtractor(buildList { fun include(functionExtractor: FunctionExtractor) = when (functionExtractor) { is CompositeFunctionExtractor -> addAll(functionExtractor.extractors) else -> add(functionExtractor) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 11:58:18 UTC 2024 - 13.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt
trySyntheticGetters: Boolean = true, ): Collection<ResolveResult> { getExtensionReceiverSymbolByThisQualifier(fqName, contextElement).ifNotEmpty { return this } buildList { getSymbolsFromScopes(fqName, contextElement).mapTo(this) { it.toResolveResult() } addAll(getTypeQualifiedExtensions(fqName, contextElement))
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 04 08:26:19 UTC 2024 - 22.3K bytes - Viewed (0)