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

Public Member Functions

 Def (const TreeRef &tree)
 
Def withName (std::string new_name) const
 
Ident name () const
 
Decl decl () const
 
List< Stmtstatements () const
 
- Public Member Functions inherited from torch::jit::script::TreeView
 TreeView (TreeRef tree)
 
TreeRef tree () const
 
const SourceRangerange () const
 
 operator TreeRef () const
 
const TreeRef & get () const
 
int kind () const
 
void dump () const
 

Static Public Member Functions

static Def create (const SourceRange &range, const Ident &name, const Decl &decl, const List< Stmt > &stmts)
 

Additional Inherited Members

- Protected Member Functions inherited from torch::jit::script::TreeView
const TreeRef & subtree (size_t i) const
 
- Protected Attributes inherited from torch::jit::script::TreeView
TreeRef tree_
 

Detailed Description

Definition at line 381 of file tree_views.h.


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