MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / IsTarget

Function IsTarget

paddle/fluid/framework/prune.cc:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60bool IsTarget(const proto::OpDesc& op_desc) {
61 if (op_desc.has_is_target()) {
62 return op_desc.is_target();
63 }
64 return false;
65}
66
67bool HasTrueTarget(const proto::OpDesc& op_desc) {
68 return op_desc.has_is_target() && op_desc.is_target();

Callers 1

prune_implFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected