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

Method Compile

tensorflow/lite/delegates/gpu/cl/kernels/conv_buffer.cc:209–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209Status ConvBuffer::Compile(const CreationContext& creation_context) {
210 std::string code = GenerateConvBuffer(
211 definition_.src_tensors[0], definition_.dst_tensors[0],
212 definition_.precision, x_elements_, y_elements_, linked_operations_);
213 return creation_context.cache->GetOrCreateCLKernel(
214 code, "main_function", *creation_context.context,
215 *creation_context.device, &kernel_);
216}
217
218Status ConvBuffer::BindArguments() {
219 kernel_.ResetBindingCounter();

Callers

nothing calls this directly

Calls 2

GenerateConvBufferFunction · 0.85
GetOrCreateCLKernelMethod · 0.80

Tested by

no test coverage detected