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

Public Member Functions

 Compound (int kind, SourceRange range)
 
 Compound (int kind, const SourceRange &range_, TreeList &&trees_)
 
const TreeList & trees () const override
 
bool isAtom () const override
 
TreeRef map (const std::function< TreeRef(TreeRef)> &fn) override
 
const SourceRangerange () const override
 
- Public Member Functions inherited from torch::jit::script::Tree
 Tree (int kind_)
 
int kind () const
 
virtual const std::string & stringValue () const
 
const TreeRef & tree (size_t i) const
 
template<typename... Args>
void match (int k, Args &...args)
 
template<typename... Args>
void matchD (int k, const char *filename, int lineno, Args &...args)
 
void matchNumSubtrees (int k, size_t expected_subtrees)
 
void matchNumSubtreesD (int k, const char *filename, int lineno, size_t expected_subtrees, bool allow_more)
 

Static Public Member Functions

static TreeRef create (int kind, const SourceRange &range_, TreeList &&trees_)
 

Detailed Description

Definition at line 129 of file tree.h.


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