Shortcuts

Class PathEnvironment

Inheritance Relationships

Base Type

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 to interp

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources