blob: ba6771d392d834d13ca6ec9682e0e297653bf81e [file] [log] [blame]
#pragma once
namespace torch {
namespace deploy {
class Interpreter;
/*
* An environment is the concept to decribe the circumstances in which a
* torch::deploy interpreter runs. In can be an xar file embedded in the binary,
* a filesystem path for the installed libraries etc.
*/
class Environment {
public:
virtual ~Environment() = default;
virtual void configureInterpreter(Interpreter* interp) = 0;
};
} // namespace deploy
} // namespace torch