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

Method Clone

tensorflow/core/common_runtime/function.cc:308–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308Status FunctionLibraryRuntimeOverlay::Clone(
309 std::unique_ptr<FunctionLibraryDefinition>* out_lib_def,
310 std::unique_ptr<ProcessFunctionLibraryRuntime>* out_pflr,
311 FunctionLibraryRuntime** out_flr, bool skip_flib_def) {
312 // NOTE(ezhulenev): The cloned FunctionLibraryRuntime will be missing the
313 // FunctionLibraryDefinition override, but that's ok because we anyway do not
314 // copy / clone instantiated items from the base FLR.
315 return base_flr_->Clone(out_lib_def, out_pflr, out_flr, skip_flib_def);
316}
317
318class FunctionLibraryRuntimeImpl : public FunctionLibraryRuntime {
319 public:

Callers 8

TEST_FFunction · 0.45
LOCKS_EXCLUDEDFunction · 0.45
TryInitMethod · 0.45
LOCKS_EXCLUDEDMethod · 0.45
ComputeMethod · 0.45
RewriteDatasetFunction · 0.45
ComputeMethod · 0.45
InitMethod · 0.45

Calls 4

InternalFunction · 0.85
GetFLRMethod · 0.80
nameMethod · 0.65
optionsMethod · 0.45

Tested by 1

TEST_FFunction · 0.36