MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / FindArgInOp

Function FindArgInOp

tensorflow/core/framework/op_kernel.cc:1554–1562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1552namespace {
1553
1554bool FindArgInOp(StringPiece arg_name,
1555 const protobuf::RepeatedPtrField<OpDef::ArgDef>& args) {
1556 for (const auto& arg : args) {
1557 if (arg_name == arg.name()) {
1558 return true;
1559 }
1560 }
1561 return false;
1562}
1563
1564} // namespace
1565

Callers 1

Calls 1

nameMethod · 0.65

Tested by

no test coverage detected