- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for then_branch (0.23 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td
TF_Int32Tensor:$max_num_elements ); } def TF_IfOp : TF_Op<"If", [DeclareOpInterfaceMethods<SymbolUserOpInterface>]> { let summary = "output = cond ? then_branch(input) : else_branch(input)"; let description = [{ output = cond ? then_branch(input) : else_branch(input) cond: A Tensor. If the tensor is a scalar of non-boolean type, the scalar is converted to a boolean according to the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
} else if (auto if_op = llvm::dyn_cast<TF::IfOp>(&op)) { auto then_branch = if_op.then_function(); auto else_branch = if_op.else_function(); // Recursively handle the nested control flow. (void)HoistForControlFlow(&then_branch.front(), module, vars_initialized, lifted_partitioned_call_callees);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
/*is_stateless=*/false, if_region.get_thenFuncNameAttr(), if_region.get_elseFuncNameAttr()); // Create empty then branch region. auto& then_branch = host_side_if.getThenBranch(); then_branch.push_back(new Block); builder.setInsertionPointToEnd(&then_branch.front()); builder.create<mlir::TF::YieldOp>(if_region.getLoc(), /*operands=*/ArrayRef<Value>{});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
auto original_point = rewriter.saveInsertionPoint(); rewriter.setInsertionPointAfter(op->getParentOfType<func::FuncOp>()); SymbolTable manager(op->getParentOfType<ModuleOp>()); // Constructs `then_branch`, which is executed when `if_cond` evaluates to // true. auto then_branch_op = rewriter.create<func::FuncOp>(loc, "cond_true", func_type);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
} auto else_attr = mlir::SymbolRefAttr::get(builder.getContext(), func_names.at(else_idx)); return llvm::SmallVector<mlir::NamedAttribute, 4>{ builder.getNamedAttr("then_branch", then_attr), builder.getNamedAttr("else_branch", else_attr), // TODO(b/139667752): Analyze statelessness correctly builder.getNamedAttr("is_stateless", builder.getBoolAttr(false))}; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/expressionInfoProvider/Fe10IdeNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java
} @Test @TestMetadata("when_branch.kt") public void testWhen_branch() { runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/when_branch.kt"); } @Test @TestMetadata("when_branchUsed.kt") public void testWhen_branchUsed() {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 08 19:07:43 UTC 2024 - 76.4K bytes - Viewed (0) -
analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionInfoProvider/FirIdeDependentAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java
} @Test @TestMetadata("when_branch.kt") public void testWhen_branch() { runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/when_branch.kt"); } @Test @TestMetadata("when_branchUsed.kt") public void testWhen_branchUsed() {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 08 19:07:43 UTC 2024 - 76.4K bytes - Viewed (0) -
analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionInfoProvider/FirIdeNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java
} @Test @TestMetadata("when_branch.kt") public void testWhen_branch() { runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/when_branch.kt"); } @Test @TestMetadata("when_branchUsed.kt") public void testWhen_branchUsed() {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 08 19:07:43 UTC 2024 - 76.4K bytes - Viewed (0) -
analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/expressionInfoProvider/FirStandaloneNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java
} @Test @TestMetadata("when_branch.kt") public void testWhen_branch() { runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/when_branch.kt"); } @Test @TestMetadata("when_branchUsed.kt") public void testWhen_branchUsed() {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 08 19:07:43 UTC 2024 - 76.5K bytes - Viewed (0)