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

Public Member Functions

 String (std::string value)
 
const std::string & stringValue () const override
 
- Public Member Functions inherited from torch::jit::script::Tree
 Tree (int kind_)
 
int kind () const
 
virtual bool isAtom () const
 
virtual const SourceRangerange () const
 
virtual const TreeList & trees () const
 
const TreeRef & tree (size_t i) const
 
virtual TreeRef map (const std::function< TreeRef(TreeRef)> &fn)
 
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

template<typename... Args>
static TreeRef create (Args &&...args)
 

Detailed Description

Definition at line 104 of file tree.h.


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