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

Public Member Functions

 Const (const TreeRef &tree)
bool isFloatingPoint () const
bool isIntegral () const
int64_t asIntegral () const
double asFloatingPoint () const
const std::string & text () 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 Const create (const SourceRange &range, const std::string &value)

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

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