| 144 | } |
| 145 | |
| 146 | Status 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 | |
| 155 | Status StridedSlice::BindArguments() { |
| 156 | kernel_.ResetBindingCounter(); |
nothing calls this directly
no test coverage detected