Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Static Public Attributes
torch::jit::SourceRange Struct Reference
Inheritance diagram for torch::jit::SourceRange:

Public Member Functions

 SourceRange (std::shared_ptr< std::string > file_, size_t start_, size_t end_)
const std::string text () const
size_t size () const
void highlight (std::ostream &out) const override
const std::string & file () const
const std::shared_ptr< std::string > & file_ptr () const
size_t start () const
size_t end () const

Static Public Attributes

static const size_t CONTEXT = 10

Additional Inherited Members

- Data Fields inherited from c10::SourceLocation
const char * function
const char * file
uint32_t line

Detailed Description

Definition at line 14 of file source_range.h.

The documentation for this struct was generated from the following file: