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

Public Member Functions

 ClassValue (ClassTypePtr type)
std::shared_ptr< SugaredValuecall (const SourceRange &loc, Method &m, at::ArrayRef< NamedValue > inputs, at::ArrayRef< NamedValue > attributes, size_t n_binders) override
std::shared_ptr< SugaredValueattr (const SourceRange &loc, Method &m, const std::string &field) override
std::string kind () const override
- Public Member Functions inherited from torch::jit::script::SugaredValue
virtual ValueasValue (const SourceRange &loc, Method &m)
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={})

Data Fields

ClassTypePtr type_

Detailed Description

Definition at line 179 of file sugared_value.h.

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