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

Method Compile

tensorflow/lite/delegates/gpu/cl/kernels/padding.cc:110–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110Status Padding::Compile(const CreationContext& creation_context) {
111 const auto code =
112 GetPaddingCode(definition_.src_tensors[0], definition_.dst_tensors[0],
113 definition_.precision, linked_operations_);
114 return creation_context.cache->GetOrCreateCLKernel(
115 code, "main_function", *creation_context.context,
116 *creation_context.device, &kernel_);
117}
118
119Status Padding::BindArguments() {
120 kernel_.ResetBindingCounter();

Callers

nothing calls this directly

Calls 2

GetOrCreateCLKernelMethod · 0.80
GetPaddingCodeFunction · 0.70

Tested by

no test coverage detected