#pragma once #include "PianoInferencer.h" namespace dynasty { namespace inferencer { namespace fix_point { namespace kl730 { class InferencerImplWrapperFactory { public: static InferencerUniquePtr create(std::string model_file, bool cuda_enabled, int device_id=0); static InferencerUniquePtr create(std::string model_file, std::string jsonFile, bool cuda_enabled, int device_id=0); // Get out the builder which is used to build the inferencer static std::shared_ptr::Builder> GetBuilder(AbstractInferencer* inferencer); }; } // End of kl730 } // End of fix_point } // End of inferencer } // End of dynasty