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

Public Member Functions

 ConstantPythonTupleValue (py::object tup)
std::vector< std::shared_ptr< SugaredValue > > asTuple (const SourceRange &loc, Method &m, const c10::optional< size_t > &size_hint={}) override
ValueasValue (const SourceRange &loc, Method &m) 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
- Public Member Functions inherited from torch::jit::script::SugaredValue
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 ()

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 214 of file init.cpp.

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