Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
c10::FunctionSchema Struct Reference

Public Member Functions

 FunctionSchema (std::string name, std::string overload_name, std::vector< Argument > arguments, std::vector< Argument > returns, bool is_vararg=false, bool is_varret=false)
 
 FunctionSchema (Symbol name, std::string overload_name, std::vector< Argument > arguments, std::vector< Argument > returns, bool is_vararg=false, bool is_varret=false, std::vector< std::string > writes={})
 
const std::string & name () const
 
const std::string & overload_name () const
 
const std::vector< Argument > & arguments () const
 
const std::vector< Argument > & returns () const
 
bool is_vararg () const
 
bool is_varret () const
 
bool is_mutable () const
 
c10::optional< int > argumentIndexWithName (const std::string &name) const
 

Detailed Description

Definition at line 67 of file function_schema.h.


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