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

Method Compile

tensorflow/lite/delegates/gpu/cl/kernels/softmax.cc:93–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93Status Softmax::Compile(const CreationContext& creation_context) {
94 const auto code = GetSoftmaxKernelCode(
95 definition_.src_tensors[0], definition_.dst_tensors[0],
96 definition_.precision, linked_operations_);
97 return creation_context.cache->GetOrCreateCLKernel(
98 code, "main_function", *creation_context.context,
99 *creation_context.device, &kernel_);
100}
101
102Status Softmax::BindArguments() {
103 kernel_.ResetBindingCounter();

Callers

nothing calls this directly

Calls 2

GetOrCreateCLKernelMethod · 0.80
GetSoftmaxKernelCodeFunction · 0.70

Tested by

no test coverage detected