mirror of
https://github.com/davrot/pytutorial.git
synced 2025-04-16 12:16:42 +02:00
Create README.md
Signed-off-by: David Rotermund <54365609+davrot@users.noreply.github.com>
This commit is contained in:
parent
7356b133ed
commit
df8ffa0912
1 changed files with 30 additions and 0 deletions
30
pytorch/networks/README.md
Normal file
30
pytorch/networks/README.md
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Creating networks
|
||||
{:.no_toc}
|
||||
|
||||
<nav markdown="1" class="toc-class">
|
||||
* TOC
|
||||
{:toc}
|
||||
</nav>
|
||||
|
||||
## The goal
|
||||
|
||||
In these days, building networks is very important.
|
||||
|
||||
Questions to [David Rotermund](mailto:davrot@uni-bremen.de)
|
||||
|
||||
|
||||
## A fast way to build a network with [Sequential](https://pytorch.org/docs/stable/generated/torch.nn.Sequential.html#torch.nn.Sequential)
|
||||
|
||||
```python
|
||||
CLASS torch.nn.Sequential(*args: Module)
|
||||
```
|
||||
|
||||
> A sequential container. Modules will be added to it in the order they are passed in the constructor.
|
||||
|
||||
|
||||
Example:
|
||||
|
||||
```python
|
||||
|
||||
```
|
||||
|
Loading…
Add table
Reference in a new issue