Update nearest_interpolation_impl.hpp
This commit is contained in:
@@ -101,6 +101,7 @@ void NearestInterpolation<InputDataType, OutputDataType>::Backward(
|
||||
if (output.is_empty())
|
||||
{
|
||||
output.set_size(inRowSize * inColSize * depth, batchSize);
|
||||
output.zeros();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user