StaticInput
layers.StaticInput.StaticInput(self, size)Static placeholder for input vectors.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| size | int | size of the vector. | required |
Methods
| Name | Description |
|---|---|
| output | |
| set | Sets the value of the vector. The dimensions must match with self.size. |
| step | Does nothing. |
output
layers.StaticInput.StaticInput.output()Returns
| Name | Type | Description |
|---|---|---|
| np.ndarray | a vector of activities. |
set
layers.StaticInput.StaticInput.set(value)Sets the value of the vector. The dimensions must match with self.size.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| value | np.ndarray | new vector value. | required |
step
layers.StaticInput.StaticInput.step()Does nothing.