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

Function WriteCCOp

tensorflow/cc/framework/cc_op_gen.cc:1011–1018  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1009}
1010
1011void WriteCCOp(const OpDef& graph_op_def, const ApiDef& api_def,
1012 const std::vector<string>& aliases, WritableFile* h,
1013 WritableFile* cc) {
1014 OpInfo op_info(graph_op_def, api_def, aliases);
1015
1016 op_info.WriteClassDecl(h);
1017 op_info.WriteClassDef(cc);
1018}
1019
1020void StartFiles(bool internal, const string& dot_h_fname, WritableFile* h,
1021 WritableFile* cc, string* op_header_guard) {

Callers 1

WriteCCOpsFunction · 0.85

Calls 2

WriteClassDeclMethod · 0.80
WriteClassDefMethod · 0.80

Tested by

no test coverage detected