W2X_EXPORT int w2x_get_num_steps(const W2xHandle handle){ if(!handle){ return -1; } auto ptr = reinterpret_cast<const waifu2x::Waifu2xImpl *>(handle); return ptr->num_steps(); }
inline const std::string filename() const { return filename(num_steps()); }