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

Function Rep

tensorflow/core/framework/op_def_util_test.cc:429–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429protobuf::RepeatedPtrField<OpDef::AttrDef> Rep(
430 const std::vector<OpDef::AttrDef>& defs) {
431 protobuf::RepeatedPtrField<OpDef::AttrDef> rep;
432 for (const OpDef::AttrDef& def : defs) {
433 rep.Add()->MergeFrom(def);
434 }
435 return rep;
436}
437
438void ExpectEqual(const protobuf::RepeatedPtrField<OpDef::AttrDef>& a1,
439 const protobuf::RepeatedPtrField<OpDef::AttrDef>& a2) {

Callers 1

TESTFunction · 0.70

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected