Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

edgify / torch   python

Repository URL to install this package:

Version: 2.0.1+cpu 

/ include / torch / csrc / jit / backends / backend_preprocess.h

#pragma once

#include <torch/csrc/jit/backends/backend_detail.h>
namespace torch {
namespace jit {
class backend_preprocess_register {
  std::string backend_name_;

 public:
  backend_preprocess_register(
      const std::string& name,
      const detail::BackendPreprocessFunction& preprocess)
      : backend_name_(name) {
    detail::registerBackendPreprocessFunction(name, preprocess);
  }
};
} // namespace jit
} // namespace torch