- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for then_branch (0.21 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/decompose_optionals.mlir
// CHECK-NOT: Optional %0 = builtin.unrealized_conversion_cast to tensor<5xi1> %1 = "tf.OptionalNone"() : () -> tensor<!tf_type.variant<tensor<f32>>> %2 = "tf.If"(%0, %1) <{else_branch = @false, is_stateless = false, then_branch = @true}> : (tensor<5xi1>, tensor<!tf_type.variant<tensor<f32>>>) -> (tensor<!tf_type.variant<tensor<f32>>>) return }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 4.5K 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/tensorflow/transforms/tf_passes.td
`tf.IfRegion` and `tf.While` is transformed to `tf.WhileRegion`. For example, this functional operation ```mlir %0 = "tf.If"(%arg0, %arg1) { then_branch = @then_branch_func, else_branch = @else_branch_func, is_stateless = false } : (tensor<i1>, tensor<*xf32>) -> tensor<*xf32> ``` will be transformed into this region-based operation
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0)