Class PathEnvironment¶
Defined in File path_environment.h
Inheritance Relationships¶
Base Type¶
public torch::deploy::Environment
(Class Environment)
Class Documentation¶
-
class PathEnvironment : public torch::deploy::Environment¶
An Environment which is defined by a specific path to python code (ie.
condas sitepackages)
Public Functions
-
inline explicit PathEnvironment(std::string path)¶
Environment constructor which takes a file name for the directory for the python modules.
-
virtual void configureInterpreter(Interpreter *interp) override¶
Adds the path defined in the
PathEnvironment
tointerp
-
inline explicit PathEnvironment(std::string path)¶