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

Method Create

tensorflow/core/kernels/data/captured_function.cc:316–322  ·  view source on GitHub ↗

static */

Source from the content-addressed store, hash-verified

314
315/* static */
316Status FunctionMetadata::Create(
317 OpKernelConstruction* ctx, const string& func_name, Params params,
318 std::shared_ptr<FunctionMetadata>* out_metadata) {
319 NameAttrList func;
320 TF_RETURN_IF_ERROR(ctx->GetAttr(func_name, &func));
321 return Create(ctx, std::move(func), params, out_metadata);
322}
323
324Status FunctionMetadata::Create(
325 OpKernelConstruction* ctx, NameAttrList&& func, Params params,

Callers 15

RunAndFetchMethod · 0.45
RunAndFetchMethod · 0.45
RunAndFetchMethod · 0.45
TESTFunction · 0.45
RunAndFetchMethod · 0.45
ManyManyVariablesHelperFunction · 0.45
ComputeMethod · 0.45
RunAndFetchMethod · 0.45
VerifyFusedBatchNormMethod · 0.45
TESTFunction · 0.45

Calls 13

CreateShortCircuitInfoFunction · 0.85
WrapUniqueFunction · 0.85
ValidateMultiDeviceMethod · 0.80
nameMethod · 0.65
CreateFunction · 0.50
GetAttrMethod · 0.45
resetMethod · 0.45
function_libraryMethod · 0.45
input_listMethod · 0.45
beginMethod · 0.45

Tested by 13

RunAndFetchMethod · 0.36
RunAndFetchMethod · 0.36
RunAndFetchMethod · 0.36
TESTFunction · 0.36
RunAndFetchMethod · 0.36
ManyManyVariablesHelperFunction · 0.36
RunAndFetchMethod · 0.36
VerifyFusedBatchNormMethod · 0.36
TESTFunction · 0.36
AddResourceInputMethod · 0.36