Home
last modified time | relevance | path

Searched refs:LoopCondOp (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dcontrol_flow_ops.h119 class LoopCondOp : public OpKernel {
121 explicit LoopCondOp(OpKernelConstruction* context);
122 ~LoopCondOp() override;
128 TF_DISALLOW_COPY_AND_ASSIGN(LoopCondOp);
Dcontrol_flow_ops.cc457 LoopCondOp::LoopCondOp(OpKernelConstruction* context) : OpKernel(context) {} in LoopCondOp() function in tensorflow::LoopCondOp
458 LoopCondOp::~LoopCondOp() = default;
460 void LoopCondOp::Compute(OpKernelContext* context) { in Compute()
471 bool LoopCondOp::IsExpensive() { return false; } in IsExpensive()
473 REGISTER_KERNEL_BUILDER(Name("LoopCond").Device(DEVICE_CPU), LoopCondOp);
478 LoopCondOp);
483 LoopCondOp);
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_device_propagation.cc124 llvm::isa_and_nonnull<tf_executor::LoopCondOp>(operand.getDefiningOp())) in FindDeviceFromOperands()
Dtfg-to-tfe.cc326 rewriter.replaceOpWithNewOp<tf_executor::LoopCondOp>( in matchAndRewrite()
Dshape_inference.cc212 tf_executor::LoopCondOp, tf_executor::MergeOp, in IsSupportedNonTFOp()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_executor.cc849 void LoopCondOp::print(OpAsmPrinter &p) { in print()
864 ParseResult LoopCondOp::parse(OpAsmParser &parser, OperationState &result) { in parse()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc1899 return builder_.create<mlir::tf_executor::LoopCondOp>(loc, types, operands, in CreateOperation()