Skip to content

Commit e696784

Browse files
fix(docs): wrong parameter name
1 parent 5b293fc commit e696784

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/source/api/components.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ Example:
147147
nn.Linear(64, 5)
148148
)
149149
150-
head = ClassificationHead(linear=custom_head_module)
150+
head = ClassificationHead(net=custom_head_module)
151151
152152
Attention Mechanism
153153
-------------------
@@ -270,3 +270,4 @@ See Also
270270
* :doc:`model` - How components are used in models
271271
* :doc:`../architecture/overview` - Architecture explanation
272272
* :doc:`configs` - ModelConfig for component configuration
273+

0 commit comments

Comments
 (0)