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

Method OpDefBuilderReceiver

tensorflow/core/framework/op.cc:285–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283
284namespace register_op {
285OpDefBuilderReceiver::OpDefBuilderReceiver(
286 const OpDefBuilderWrapper<true>& wrapper) {
287 OpRegistry::Global()->Register(
288 [wrapper](OpRegistrationData* op_reg_data) -> Status {
289 return wrapper.builder().Finalize(op_reg_data);
290 });
291}
292} // namespace register_op
293
294} // namespace tensorflow

Callers

nothing calls this directly

Calls 3

RegisterMethod · 0.45
FinalizeMethod · 0.45
builderMethod · 0.45

Tested by

no test coverage detected