Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
torch::jit::script::PythonModuleValue Struct Reference
Inheritance diagram for torch::jit::script::PythonModuleValue:
torch::jit::script::PythonValue torch::jit::script::SugaredValue

Public Member Functions

 PythonModuleValue (py::object mod)
 
std::shared_ptr< SugaredValueattr (const SourceRange &loc, Method &m, const std::string &field) override
 
- Public Member Functions inherited from torch::jit::script::PythonValue
 PythonValue (py::object self)
 
FunctionSchema getSchema (const size_t n_args, const size_t n_binders)
 
std::shared_ptr< SugaredValuecall (const SourceRange &loc, Method &m, at::ArrayRef< NamedValue > inputs_, at::ArrayRef< NamedValue > attributes, size_t n_binders) override
 
std::string kind () const override
 
std::vector< std::shared_ptr< SugaredValue > > asTuple (const SourceRange &loc, Method &m, const c10::optional< size_t > &size_hint={}) 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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from torch::jit::script::PythonValue
py::object getattr (const SourceRange &loc, const std::string &name)
 
- Protected Attributes inherited from torch::jit::script::PythonValue
py::object self
 

Detailed Description

Definition at line 199 of file init.cpp.


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