Public Member Functions | |
SimpleValue (Value *value) | |
std::string | kind () const override |
Value * | asValue (const SourceRange &range, Method &m) override |
NoneStatus | isNone () override |
std::vector< std::shared_ptr< SugaredValue > > | asTuple (const SourceRange &loc, Method &m, const c10::optional< size_t > &size_hint={}) override |
std::shared_ptr< SugaredValue > | attr (const SourceRange &loc, Method &m, const std::string &field) override |
void | setAttr (const SourceRange &loc, Method &m, const std::string &field, Value *newValue) override |
Value * | getValue () const |
Public Member Functions inherited from torch::jit::script::SugaredValue | |
virtual std::shared_ptr< SugaredValue > | call (const SourceRange &loc, Method &m, at::ArrayRef< NamedValue > inputs_, at::ArrayRef< NamedValue > attributes, size_t n_binders) |
Definition at line 95 of file sugared_value.h.