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

Public Member Functions

 ConstantValue (IValue value)
std::string kind () const override
ValueasValue (const SourceRange &loc, Method &m) override
- Public Member Functions inherited from torch::jit::script::SugaredValue
virtual std::shared_ptr< SugaredValueattr (const SourceRange &loc, Method &m, const std::string &field)
virtual void setAttr (const SourceRange &loc, Method &m, const std::string &field, Value *newValue)
virtual NoneStatus isNone ()
virtual std::vector< std::shared_ptr< SugaredValue > > asTuple (const SourceRange &loc, Method &m, const c10::optional< size_t > &size_hint={})
virtual std::shared_ptr< SugaredValuecall (const SourceRange &loc, Method &m, at::ArrayRef< NamedValue > inputs_, at::ArrayRef< NamedValue > attributes, size_t n_binders)

Data Fields

IValue value_

Detailed Description

Definition at line 56 of file import_source.cpp.

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