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

Public Member Functions

 Param (const TreeRef &tree)
 
Ident ident () const
 
Expr type () const
 
Maybe< ExprdefaultValue () const
 
bool kwarg_only () const
 
Param withType (const Expr &typ) 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 Param create (const SourceRange &range, const Ident &ident, const Expr &type, const Maybe< Expr > &def, bool kwarg_only)
 

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 327 of file tree_views.h.


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