Public Member Functions | |
ConstantTableValue (ArrayRef< at::Tensor > constants) | |
std::string | kind () const override |
std::shared_ptr< SugaredValue > | attr (const SourceRange &loc, Method &m, const std::string &field) override |
Public Member Functions inherited from torch::jit::script::SugaredValue | |
virtual Value * | asValue (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={}) |
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 70 of file import_source.cpp.