Caffe2 - C++ API
A deep learning, cross platform ML framework
jit_exception.h
1 #pragma once
2 
3 #include <stdexcept>
4 
5 namespace torch {
6 namespace jit {
7 
8 struct JITException : public std::runtime_error {
9  JITException() = default;
10  explicit JITException(const std::string& msg) : std::runtime_error(msg) {}
11 };
12 
13 } // namespace jit
14 } // namespace torch
Definition: jit_type.h:17