-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- This commit is related to issue #2660 - When using multi-inputs, users must feed the data in reverse order due to a known bug that needs fixing. In the current version, the input must be provided in reverse order, which was not shown in the previous example where random data with the same dimensions were used. - To provide a more accurate example to NNTrainer users, I have temporarily updated this example. - Once the issue is handled, further updates will be necessary. Signed-off-by: Eunju Yang <[email protected]>
- Loading branch information
1 parent
79a7c25
commit 2807f69
Showing
3 changed files
with
42 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Multi_Input example | ||
|
||
- This example demonstrates how to use the `multi_input` layer. | ||
- The NNTrainer supports a network that takes multiple tensors as inputs. | ||
- Users can create multiple `input` layers for the network with their own names and build the network accordingly. | ||
- This code includes an example of training with... | ||
|
||
``` | ||
+-----------+ | ||
| output | | ||
+-----------+ | ||
| | ||
+---------------------------------------------------+ | ||
| flatten | | ||
+---------------------------------------------------+ | ||
| | ||
+---------------------------------------------------+ | ||
| concat0 | | ||
+---------------------------------------------------+ | ||
| | | | ||
+-----------+ +-----------+ +-----------+ | ||
| input 2 | | input 1 | | input 0 | | ||
+-----------+ +-----------+ +-----------+ | ||
``` | ||
|
||
- **[Note]** Users should feed the multi-input in reverse order because the model is structured in a reversed manner internally. This is a known issue for us, and we plan to address it soon. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters