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
code_template
CodeTemplate
Public Member Functions
|
Static Public Member Functions
|
Public Attributes
|
Static Public Attributes
|
List of all members
code_template.CodeTemplate Class Reference
Inheritance diagram for code_template.CodeTemplate:
Public Member Functions
def
__init__
(self, pattern, filename="")
def
substitute
(self, env={}, kwargs)
Static Public Member Functions
def
from_file
(filename)
Public Attributes
pattern
filename
Static Public Attributes
string
substitution_str
= r'(^[^\n\S]*)?\$([^\d\W]\w*|\{,?[^\d\W]\w*\,?})'
substitution_str
= substitution_str.replace(r'\w', r'[a-zA-Z0-9_]')
subtitution
= re.compile(substitution_str, re.MULTILINE)
Detailed Description
Definition at line
13
of file
code_template.py
.
The documentation for this class was generated from the following file:
aten/src/ATen/
code_template.py
Generated on Thu Mar 21 2019 13:06:38 for Caffe2 - Python API by
1.8.11