GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Packages
  • Classes
  • Files
  • C++ API
  • GitHub
  • Class Index
  • Class Hierarchy
  • Class Members
  • tools
  • cwrap
  • cwrap.py

This view

  • Original page
  • New address

GeezerVison is showing caffe2.ai — Caffe2 - Python API: tools.cwrap.cwrap.cwrap Class Reference

Logo
Caffe2 - Python API
A deep learning, cross platform ML framework
  • Packages
  • Classes
  • Files
  • C++ API
  • Python API
  • GitHub
  • Class List
  • Class Index
  • Class Hierarchy
  • Class Members
  • tools
  • cwrap
  • cwrap
  • cwrap
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tools.cwrap.cwrap.cwrap Class Reference
Inheritance diagram for tools.cwrap.cwrap.cwrap:

Public Member Functions

def __init__ (self, source, destination=None, plugins=None, default_plugins=True, template_path=None)
 
def wrap_declarations (self, declarations)
 
def parse_arguments (self, args)
 
def search_plugins (self, fnname, args, fallback)
 
def get_type_check (self, arg, option)
 
def get_type_unpack (self, arg, option)
 
def get_return_wrapper (self, option)
 
def get_wrapper_template (self, declaration)
 
def get_assign_args (self, arguments)
 
def get_arg_accessor (self, arg, option)
 
def generate_wrapper (self, declaration)
 
def map_selected_arguments (self, base_fn_name, plugin_fn_name, option, arguments)
 
def build_option_args (self, arguments, arg_unpack)
 
def indent_code (self, code)
 
def generate_option (self, option, is_first)
 

Public Attributes

 plugins
 
 base_path
 

Static Public Attributes

 BASE_INDENT_SIZE
 
 RETURN_WRAPPERS
 
 OPTION_TEMPLATE
 
 ARG_ASSIGN_TEMPLATE
 
 OPTION_CODE_TEMPLATE
 
 FUNCTION_CALL_TEMPLATE
 
 DEFAULT_PLUGIN_CLASSES
 

Detailed Description

Definition at line 10 of file cwrap.py.

Member Function Documentation

def tools.cwrap.cwrap.cwrap.search_plugins (   self,
  fnname,
  args,
  fallback 
)
Search plugins for the given function to call with args.

If not found, call fallback with args.

Definition at line 136 of file cwrap.py.


The documentation for this class was generated from the following file:
  • tools/cwrap/cwrap.py

Generated on Thu Mar 21 2019 13:06:39 for Caffe2 - Python API by   doxygen 1.8.11

Facebook Open Source

Open Source Projects GitHub Twitter
Contribute to this project on GitHub
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.