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

Public Member Functions

 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 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 ()

Protected Member Functions

py::object getattr (const SourceRange &loc, const std::string &name)

Protected Attributes

py::object self

Detailed Description

Definition at line 69 of file init.cpp.

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