HyperGAN
Search…
layer
1
description: 'layer layer for configurable component'
2
---
3
4
# layer layer
5
6
`layer` allows you to reference any layer defined in the rest of the network.
7
8
## arguments
9
10
`layer_name` - The name of the layer to use
11
12
## Optional arguments
13
14
`upsample` - If true, upsample the layer to the current size
15
16
## input size
17
18
Any 4-d tensor
19
20
## output size
21
22
if upsample true, the current input size
23
otherwise the layer size
24
25
## syntax
26
27
```json
28
"layer z"
29
```
30
31
## examples
32
33
```json
34
35
"identity name=encoding",
36
...
37
"add self (layer encoding upsample=true)"
38
```
Copied!
Last modified 1yr ago
Copy link