We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Types.h
1 parent 5bcb28e commit 83d660cCopy full SHA for 83d660c
backends/vulkan/runtime/api/Types.h
@@ -201,15 +201,6 @@ static constexpr GPUMemoryLayout kHeightPacked =
201
static constexpr GPUMemoryLayout kChannelsPacked =
202
GPUMemoryLayout::TENSOR_CHANNELS_PACKED;
203
204
-/*
205
- * Given a GPUMemoryLayout, return the index of the dimension that is packed
206
- * along texels, assuming WHCN dimension order.
207
- */
208
-template <typename T>
209
-T to_packed_dim_whcn_idx(const GPUMemoryLayout layout) {
210
- return static_cast<T>(layout);
211
-}
212
-
213
/*
214
* Given a GPUMemoryLayout, return an offset that can be used to determine the
215
* index of the dimension that is packed along texels, assuming NCHW dimension
0 commit comments