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

Public Member Functions

 CastValue (TypePtr type, c10::Symbol method)
std::shared_ptr< SugaredValuecall (const SourceRange &loc, Method &m, at::ArrayRef< NamedValue > inputs, at::ArrayRef< NamedValue > attributes, size_t n_binders) override
- Public Member Functions inherited from torch::jit::script::BuiltinFunction
 BuiltinFunction (Symbol symbol, c10::optional< NamedValue > self)
std::string kind () const 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 ()
virtual std::vector< std::shared_ptr< SugaredValue > > asTuple (const SourceRange &loc, Method &m, const c10::optional< size_t > &size_hint={})

Additional Inherited Members

- Data Fields inherited from torch::jit::script::BuiltinFunction
Symbol symbol
c10::optional< NamedValueself

Detailed Description

Definition at line 250 of file sugared_value.h.

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