blob: 8c01191b288db325dca22f723a74fd9a68d26c39 [file] [log] [blame]
#pragma once
#include <torch/csrc/deploy/environment.h>
#include <string>
namespace torch {
namespace deploy {
class PathEnvironment : public Environment {
public:
explicit PathEnvironment(std::string path) : path_(std::move(path)) {}
void configureInterpreter(Interpreter* interp) override;
private:
std::string path_;
};
} // namespace deploy
} // namespace torch