iOS TFLite delegate: align uniform buffer for concat operation - remove xcode Metal validator warning.
PiperOrigin-RevId: 286101150 Change-Id: Ia5bae78b1f68f8f35cfe75457f3097ae954d58e6
This commit is contained in:
parent
285188f415
commit
c69bd15c41
@ -329,7 +329,8 @@ std::vector<ComputeTaskDescriptorPtr> ConcatY(
|
||||
[output_id](const std::map<ValueId, BHWC>& buffers) {
|
||||
const auto& dimension = buffers.find(output_id)->second;
|
||||
std::vector<int> uniform_params{dimension.w, dimension.h,
|
||||
IntegralDivideRoundUp(dimension.c, 4)};
|
||||
IntegralDivideRoundUp(dimension.c, 4),
|
||||
/*padding=*/0};
|
||||
return GetByteBuffer(uniform_params);
|
||||
}},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user