-// Copyright (C) 2018 Intel Corporation
+// Copyright (C) 2018-2019 Intel Corporation
// SPDX-License-Identifier: Apache-2.0
//
* @brief Executes input pre-processing with a given resize algorithm.
* @param outBlob pre-processed output blob to be used for inference.
* @param algorithm resize algorithm.
+ * @param serial disable OpenMP threading if the value set to true.
+ * @param batchSize batch size for pre-processing.
*/
- void execute(Blob::Ptr &outBlob, const ResizeAlgorithm &algorithm, bool serial);
+ void execute(Blob::Ptr &outBlob, const ResizeAlgorithm &algorithm, bool serial,
+ int batchSize = -1);
+
+ static void isApplicable(const Blob::Ptr &src, const Blob::Ptr &dst);
};
//----------------------------------------------------------------------