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

Method Register

tensorflow/core/framework/op.cc:52–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void OpRegistry::Register(const OpRegistrationDataFactory& op_data_factory) {
53 mutex_lock lock(mu_);
54 if (initialized_) {
55 TF_QCHECK_OK(RegisterAlreadyLocked(op_data_factory));
56 } else {
57 deferred_.push_back(op_data_factory);
58 }
59}
60
61Status OpRegistry::LookUp(const string& op_type_name,
62 const OpRegistrationData** op_reg_data) const {

Callers 5

OpDefBuilderReceiverMethod · 0.45
RegisterFunction · 0.45
TF_RegisterOpDefinitionFunction · 0.45

Calls 1

push_backMethod · 0.45

Tested by 1

RegisterFunction · 0.36