Home
last modified time | relevance | path

Searched refs:execute_op (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tfrt/transforms/
Dremove_device_attribute.cc50 module.walk([&](tfrt::corert::ExecuteOp execute_op) { in runOnOperation() argument
54 execute_op.getOpFuncAttrs(&op_func_attrs); in runOnOperation()
55 execute_op.getOpAttrs(&op_attrs); in runOnOperation()
63 OpBuilder builder(execute_op); in runOnOperation()
65 execute_op.getLoc(), execute_op.getResultTypes(), in runOnOperation()
66 execute_op.op_handler(), execute_op.operands(), new_op_attrs, in runOnOperation()
67 op_func_attrs, execute_op.op_name()); in runOnOperation()
68 execute_op.replaceAllUsesWith(new_execute_op.results()); in runOnOperation()
69 execute_op.erase(); in runOnOperation()
Dcross_device_transfer.cc80 } else if (auto execute_op = llvm::dyn_cast<tfrt::corert::ExecuteOp>(op)) { in GetDevice() local
82 execute_op.getOpAttrs(&attrs); in GetDevice()
Dtf_to_tfrt.cc1840 if (auto execute_op = in GetNumArgs() local
1842 return execute_op.operands().size(); in GetNumArgs()
/external/tensorflow/tensorflow/dtensor/mlir/
Dtpu_add_resource_device_attribute.cc52 mlir::BlockArgument arg, mlir::TF::TPUExecuteOp execute_op) { in AddPlaceholderDeviceAttributeToResource() argument
55 execute_op->getParentOfType<mlir::tf_device::LaunchOp>(); in AddPlaceholderDeviceAttributeToResource()
58 auto function = execute_op->getParentOfType<mlir::func::FuncOp>(); in AddPlaceholderDeviceAttributeToResource()
59 mlir::OpBuilder builder(execute_op); in AddPlaceholderDeviceAttributeToResource()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_rewrite_pass.cc440 OpBuilder* builder, TF::TPUExecuteOp* execute_op) { in BuildExecuteOp() argument
451 *execute_op = builder->create<TF::TPUExecuteOp>(cluster_func.getLoc(), in BuildExecuteOp()
455 (*execute_op)->setAttr("_producer_name", producer_name_attr); in BuildExecuteOp()
589 Operation* execute_op, OpBuilder* builder) { in AssignDevicesToReplicatedExecute() argument
596 return WrapOpInLaunch(builder, execute_op->getLoc(), execute_op, device); in AssignDevicesToReplicatedExecute()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_util.h113 const ChainedExecuteFn& execute_op,
Dxrt_util.cc382 const ChainedExecuteFn& execute_op, in ExecuteChained() argument
410 execute_op(op, working_set.PinnedTuples())); in ExecuteChained()
/external/tensorflow/tensorflow/python/kernel_tests/
Dcritical_section_test.py160 execute_op = [
165 execute_op,
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dtpu_execute_op.cc430 auto execute_op = [&](const xrt::XRTChainedExecuteOp& op, in DoWork() local
470 config, execute_op, backend->memory_allocator()); in DoWork()
Dxrt_execute_op.cc562 auto execute_op = [&](const xrt::XRTChainedExecuteOp& op, in DoWork() local
578 device_ref.device_ordinal(), plan, config, execute_op, in DoWork()