Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
torch::jit::script::SugaredValue Struct Referenceabstract
Inheritance diagram for torch::jit::script::SugaredValue:
torch::jit::script::AnnotateValue torch::jit::script::BooleanDispatchValue torch::jit::script::BuiltinFunction torch::jit::script::BuiltinModule torch::jit::script::ClassNewMethod torch::jit::script::ClassValue torch::jit::script::ConstantParameterList torch::jit::script::ConstantTableValue torch::jit::script::ConstantValue torch::jit::script::ForkValue torch::jit::script::GetAttrValue torch::jit::script::IsInstanceValue torch::jit::script::MethodValue torch::jit::script::ModuleAccessorValue torch::jit::script::ModuleValue torch::jit::script::NoneValue torch::jit::script::OpsValue torch::jit::script::OverloadedFunctionValue torch::jit::script::PrintValue torch::jit::script::PythonValue torch::jit::script::SimpleValue

Public Member Functions

virtual std::string kind () const =0
 
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={})
 
virtual std::shared_ptr< SugaredValuecall (const SourceRange &loc, Method &m, at::ArrayRef< NamedValue > inputs_, at::ArrayRef< NamedValue > attributes, size_t n_binders)
 

Detailed Description

Definition at line 25 of file sugared_value.h.


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