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

Method Compile

tensorflow/lite/delegates/gpu/cl/kernels/reshape.cc:95–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

GetOrCreateCLKernelMethod · 0.80
GetReshapeCodeFunction · 0.70

Tested by

no test coverage detected