Conversation
doc/development/create-a-model.md
Outdated
|
|
||
| ## Design a new component | ||
|
|
||
| When creating a new component, take descriptor as the example, you should inherit [`Descriptor`](deepmd.descriptor.descriptor.Descriptor) class and override several methods. Abstract methods such as [`build`](deepmd.descriptor.descriptor.Descriptor.build) must be implemented and others are not. You should keep arguments of these methods unchanged. |
There was a problem hiding this comment.
The links are broken in markdown
There was a problem hiding this comment.
The links will be parsed in sphinx. I have no idea how to make it also work in GitHub, so I change to {py:class}deepmd.descriptor.descriptor.Descriptor which will also generate links in sphinx.
Codecov Report
@@ Coverage Diff @@
## devel #1143 +/- ##
===========================================
- Coverage 75.66% 64.28% -11.38%
===========================================
Files 88 5 -83
Lines 7034 14 -7020
===========================================
- Hits 5322 9 -5313
+ Misses 1712 5 -1707 Continue to review full report at Codecov.
|
No description provided.