Skip to content

Commit

Permalink
CONTRIBUTING.md: Fix broken links to nodes.md (#2728)
Browse files Browse the repository at this point in the history
CONTRIBUTING.md: Fix broken links to nodes.md
  • Loading branch information
Splendide-Imaginarius authored Apr 3, 2024
1 parent c1d6bab commit 4234844
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ Let's go through the metadata:
- `inputs` declares all arguments of the python function. In our case, we have 2 inputs: `img` and `radius`. `ImageInput` and `NumberInput` are classes that define the type of the input. `ImageInput` is used for images, and `NumberInput` is used for numbers. `NumberInput` takes a few arguments. `minimum` and `maximum` define the range of the number, `default` defines the default value, and `precision` defines the number of decimal places.
- `outputs` declares all return values of the python function. In our case, we return one image. `ImageOutput` is used for images. `image_type="Input0"` means that the output image has the same size and number of channels as the input image.

For more information about metadata, see the [Node Metadata docs](docs/nodes.md#node-metadata).
For more information about metadata, see the [Node Metadata docs](nodes.md#node-metadata).

And that's it. We have successfully implemented a new node. Now we can start chaiNNer and see our new node in action.

For more information about nodes, see [the nodes documentation](docs/nodes.md).
For more information about nodes, see [the nodes documentation](nodes.md).

0 comments on commit 4234844

Please sign in to comment.