Home
last modified time | relevance | path

Searched defs:if_op (Results 1 – 23 of 23) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dfunctional_control_flow_to_regions.cc96 LogicalResult ConvertIfOp(IfOp if_op) { in ConvertIfOp()
142 if (IfOp if_op = llvm::dyn_cast<IfOp>(op)) { in runOnOperation() local
Dstack_ops_decomposition.cc228 TF::IfOp if_op, ModuleOp module, in HandleIfOp()
534 } else if (auto if_op = llvm::dyn_cast<TF::IfOp>(&op)) { in DecomposeStackOpsInternal() local
Dtensor_list_ops_decomposition.cc346 TF::IfRegionOp if_op, ModuleOp module, in HandleIfRegionOp()
893 } else if (auto if_op = llvm::dyn_cast<TF::IfOp>(&op)) { in DecomposeTensorListOpsInternal() local
929 } else if (auto if_op = llvm::dyn_cast<TF::IfRegionOp>(&op)) { in DecomposeTensorListOpsInternal() local
Doptimize_global_tensors.cc110 if (auto if_op = dyn_cast<TF::IfOp>(op)) { in AnalyzeFunc() local
Dmerge_control_flow.cc291 block->walk([&](TF::IfRegionOp if_op) { in OptimizeIfRegions()
Dresource_device_inference.cc289 } else if (auto if_op = dyn_cast<IfOp>(op)) { in runOnOperation() local
Dtensor_array_ops_decomposition.cc497 } else if (auto if_op = llvm::dyn_cast<TF::IfOp>(op)) { in AccessedGradients() local
640 LogicalResult HandleIfOp(TF::IfOp if_op, ModuleOp module, in HandleIfOp()
899 } else if (auto if_op = llvm::dyn_cast<TF::IfOp>(&op)) { in DecomposeTensorArrayOps() local
Dfunctional_control_flow_to_cfg.cc285 if (IfOp if_op = llvm::dyn_cast<IfOp>(op)) { in runOnFunction() local
Dregion_control_flow_to_functional.cc345 auto if_op = builder.create<IfOp>( in ConvertIfOp() local
Dresource_op_lifting_cleanup.cc419 if (auto if_op = dyn_cast<TF::IfOp>(op)) { in CleanupAndCanonicalize() local
Dcollection_ops_util.cc182 } else if (auto if_op = llvm::dyn_cast<TF::IfOp>(use.getOwner())) { in GetElementTypeFromAccess() local
Dtpu_extract_outside_compilation.cc361 if (auto if_op = llvm::dyn_cast<TF::IfRegionOp>(op)) { in DecomposeControlFlow() local
Dshape_inference.cc1066 if (auto if_op = dyn_cast<IfOp>(op)) return InferShapeForIf(if_op); in InferShapeForSingleOperation() local
1325 if (auto if_op = dyn_cast<TF::IfOp>(op)) { in PropagateShapeIntoAttachedFunctions() local
Dresource_op_lifting.cc1246 } else if (auto if_op = llvm::dyn_cast<TF::IfOp>(&op)) { in HoistForControlFlow() local
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dsink_constants_to_control_flow.cc50 } else if (auto if_op = llvm::dyn_cast<IfOp>(op)) { in runOnFunction() local
Dlegalize_control_flow.cc63 LogicalResult LowerIfOp(mlir::mhlo::IfOp if_op) { in LowerIfOp()
Dtransform_unranked_hlo.cc237 auto if_op = rewriter.create<scf::IfOp>( in matchAndRewrite() local
432 scf::IfOp if_op = createIfOpForRankSpecializedBroadcastAndOp( in HandleBroadcastAndOp() local
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf_control_flow.cc109 auto if_op = builder.create<mhlo::IfOp>(loc, result_type, op.cond(), in LowerIf() local
273 auto if_op = builder.create<mhlo::IfOp>(loc, result_type, op.cond(), in LowerIfRegion() local
379 if (auto if_op = dyn_cast<TF::IfOp>(op)) { in runOnOperation() local
/external/tensorflow/tensorflow/core/common_runtime/
Dlower_if_op.cc113 CondBuilder::CondBuilder(Node* if_op, const NameAttrList& then_fn, in CondBuilder()
/external/tensorflow/tensorflow/compiler/jit/
Drearrange_function_argument_pass_test.cc96 auto if_op = ops::If(s.WithOpName("if"), arg1, in TEST() local
Dextract_outside_compilation_pass_test.cc472 auto if_op = ops::If(s.WithOpName("if"), cond, in TEST_F() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/analysis/
Dresource_alias_analysis.cc326 } else if (auto if_op = dyn_cast<IfOp>(op)) { in ResourceAliasAnalysisInfo() local
/external/tensorflow/tensorflow/compiler/tf2xla/
Dfunctionalize_control_flow_test.cc156 auto if_op = in CheckGraphDef() local