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

Method Compile

tensorflow/lite/delegates/gpu/cl/kernels/strided_slice.cc:146–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146Status StridedSlice::Compile(const CreationContext& creation_context) {
147 const auto code = GetStridedSliceCode(
148 definition_.src_tensors[0], definition_.dst_tensors[0],
149 definition_.precision, Is4Alighed(attributes_), linked_operations_);
150 return creation_context.cache->GetOrCreateCLKernel(
151 code, "main_function", *creation_context.context,
152 *creation_context.device, &kernel_);
153}
154
155Status StridedSlice::BindArguments() {
156 kernel_.ResetBindingCounter();

Callers

nothing calls this directly

Calls 3

GetStridedSliceCodeFunction · 0.85
Is4AlighedFunction · 0.85
GetOrCreateCLKernelMethod · 0.80

Tested by

no test coverage detected