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

Method Compile

tensorflow/lite/delegates/gpu/cl/kernels/upsample.cc:98–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96}
97
98Status Upsample::Compile(const CreationContext& creation_context) {
99 const auto code =
100 GetUpsampleCode(definition_.src_tensors[0], definition_.dst_tensors[0],
101 definition_.precision, linked_operations_);
102 return creation_context.cache->GetOrCreateCLKernel(
103 code, "main_function", *creation_context.context,
104 *creation_context.device, &kernel_);
105}
106
107Status Upsample::BindArguments() {
108 kernel_.ResetBindingCounter();

Callers

nothing calls this directly

Calls 2

GetUpsampleCodeFunction · 0.85
GetOrCreateCLKernelMethod · 0.80

Tested by

no test coverage detected