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

Public Member Functions

 TernaryIf (const TreeRef &tree)
 
Expr cond () const
 
Expr true_expr () const
 
Expr false_expr () const
 
- Public Member Functions inherited from torch::jit::script::Expr
 Expr (const TreeRef &tree)
 
- 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 TernaryIf create (const SourceRange &range, const Expr &cond, const Expr &true_expr, const Expr &false_expr)
 

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


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