Skip to content

Commit

Permalink
add message
Browse files Browse the repository at this point in the history
  • Loading branch information
KexinFeng committed Oct 12, 2022
1 parent 06ed67e commit 77dbd35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/development/development_guideline.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ IntelliJ allows you to [customize the data view in the Debug Tools](https://www.
You can create your own NDArray renderer as follows:
![](img/custom_debug_view.png)

Opening the IDE settings (`⌘ ,`), in *Java Type Renderer* section, you can:
Opening the IDE settings (`⌘ ,`), in *Java Type Renderer* section, you can enable array display by:
- Change the "Use following expression" field to [toDebugString(true)](https://javadoc.io/static/ai.djl/api/0.19.0/ai/djl/ndarray/NDArray.html#toDebugString-int-int-int-int-) to show NDArray content
- Change the "Use following expression" field to something like [toDebugString(100, 10, 10, 20, true)](https://javadoc.io/static/ai.djl/api/0.19.0/ai/djl/ndarray/NDArray.html#toDebugString-int-int-int-int-)
if you want to adjust the range of NDArray's debug output.
Expand Down

0 comments on commit 77dbd35

Please sign in to comment.