This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Commit 0e9a1ff
[MXNET-1198] MXNet Java API (#13162)
* [MXNET-984] Add Java NDArray and introduce Java Operator Builder class (#12816)
* clean history and add commit
* add lint header
* bypass the java unittest when make the package
* clean up redundant test
* clean spacing issue
* revert the change
* clean up
* cleanup the JMacros
* adding line escape
* revert some changes and fix scala style
* fixes regarding to Naveen's comment
* Java Inference api and SSD example (#12830)
* New Java inference API and SSD example
* Adding license to java files and fixing SSD example
* Fixing SSD example to point to ObjectDetector instead of ImageClassifier
* Make scripts for object detector independent to os and hw cpu/gpu
* Added API Docs to Java Inference API. Small fixes for PR
* Cosmetic updates for API DOCS requested during PR
* Attempt to fix the CI Javafx compiler issue
* Migrate from Javafx to apache commons for Pair implementation
* Removing javafx from pom file
* Fixes to appease the ScalaStyle deity
* Minor fix in SSD script and Readme
* Added ObjectDetectorOutput which is a POJO for Object Detector to simplify the return type
* Removing Apache Commons Immutable Pair
* Adding license to new file
* Minor style fixes
* minor style fix
* Updating to be in scala style and not explicitly declare some unnecessary variables
* NativeResource Management in Scala (#12647) (#12883)
* add Generic MXNetHandle trait and MXNetHandlePhantomRef class that will be used by all MXNetObjects
* Generic Handle with AutoCloseable
* add NativeResource and NativeResourceManager with Periodic GC calling
* use NativeResource trait in NDArray, Symbol and Executor
* add run train mnist script
* create a Generic ResourceScope that can collect all NativeResources to dispose at the end
* modify NativeResource and ResourceScope, extend NativeResource in NDArray, Symbol and Executor
* remove GCExecutor
* deRegister PhantomReferences by when calling dispose()
* add Finalizer(temporary) to NativeResource
* refactor NativeResource.dispose() method
* update NativeResource/add Unit Test for NativeResource
* updates to NativeResource/NativeResourceRef and unit tests to NativeResource
* remove redundant code added because of the object equality that was needed
* add ResourceScope
* Fix NativeResource to not remove from Scope, add Unit Tests to ResourceScope
* cleanup log/print debug statements
* use TreeSet inplace of ArrayBuffer to speedup removal of resources from ResourceScope
Fix Executor dispose and make KVStore a NativeResource
* fix segfault that was happening because of NDArray creation on the fly in Optimizer
* Add comments for dispose(param:Boolean)
* Added unit tests for Resource Scope in Java (#12955)
* Bumping down minimum java support from 8 to 7 (#12965)
* [MXNET-984] Java NDArray Documentation Generation (#12835)
* cherry pick javaDoc changes
* update NDArray changes
* refactoring change and merge all docGen in a single place
* clean the scalastyle
* take on Piyush nit
* drop the comments
* First pass at adding JavaDocs for new java api classes (#12963)
* First pass at adding JavaDocs for new java api classes
* Fix a scalastyle issue
* Updating JavaDoc based on feedback
* [MXNET-1160] add Java build/run example (#12969)
* add example
* clean up nit
* find the pain point
* add java tut into whitelist
* Trigger CI
* add java demo and split scala demo
* address the comments
* change the examples
* fix the wrong configuration
* Maven Surefire bug workaround (#13097)
* use ResourceScope in Model/Trainer/FeedForward.scala (#12882) (#13164)
* use ResourceScope in Model/Trainer/FeedForward.scala
* add moveToOuterScope public method to move resources to a outerScope if it exists
* fix memory leak in FeedForward.scala by making it a native resource and disposing argparams, auxParams
in dispose() method
* [MXNET-1187] Added Tutorial for Java under mxnet.io/docs/tutorials (#13183)
* Added tutorial for Java installation on IntelliJ for mxnet.io website
* Added correct image resources
* Removed spurious quotes
* Added java tutorial to whitelisting
* Added community download edition link to intelliJ section
* [MXNET-1202] Change Builder class into a better way (#13159)
* applying changes for Builder functions
* simplify the code structure
* update docgen
* follow Naveen's suggestion
* apply comments to Param
* clean up param build
* change on the comments
* add one description line
* [MXNET-1041] Add Java benchmark (#13095)
* add java benchmark
* applied changes based on Piyush comments
* applies Andrew's change
* fix clojure test issue
* update the statistic names
* follow Naveen's instruction
* [MXNET-918] [Introduce Random module / Refact code generation (#13038)][Cherry pick] (#13242)
* [MXNET-918] Introduce Random module / Refact code generation (#13038)
* refactor code gen
* remove xxxAPIMacroBase (overkill)
* CI errors / scala-style
* PR review comments
* clean up the duplicated code
* add comments
* Fixed missing break statement (#13257)
* Java Benchmark failure (#13258)
* patch fix
* update ignore
* rename getContext to bindToDevice
* Update JavaBenchmark.java
* Addressing PR feedback for merging Java API into master (#13277)
* Addressing PR feedback for merging Java API into master
* Changed constructors to package private instead of private
* clean up the NDArray follow the comments (#13281)
* [MXNET-1181] Added command line alternative to IntelliJ in install instructions (#13267)
* Added command line alternative to IntelliJ
* Removed the duplicate file
* Fixed typos
* Fixed minor command issue
* add defaults and clean up the tests (#13295)
* [MXNET-1187] Added Java SSD Inference Tutorial for website (#13201)
* Added Java SSD Inference Tutorial for website
* Added whitelisting to SSD tutorial
* Address PR feedback
* Marking intelliJ as optional
* [MXNET-1182] Predictor example (#13237)
* add initial commit
* push back predictor
* name fix and bug fix
* update readme and script to run
* minor fix
* minor fix
* fix on doc
* update predictor
* Reducing the length of setup tutorial (#13306)1 parent 96a2a09 commit 0e9a1ff
File tree
50 files changed
+2767
-70
lines changed- docs/tutorials
- java
- scala-package
- core
- src
- main/scala/org/apache/mxnet/javaapi
- test/java/org/apache/mxnet/javaapi
- examples
- scripts
- benchmark
- infer
- objectdetector
- predictor
- src/main
- java/org/apache/mxnetexamples/javaapi
- benchmark
- infer
- objectdetector
- predictor
- scala/org/apache/mxnetexamples/infer/objectdetector
- infer
- src/main/scala/org/apache/mxnet/infer/javaapi
- macros/src
- main/scala/org/apache/mxnet
- javaapi
- utils
- test/scala/org/apache/mxnet
- mxnet-demo
- java-demo
- bin
- src/main/java/sample
- scala-demo
- bin
- src/main/scala/sample
- tests/tutorials
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
50 files changed
+2767
-70
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
159 | 166 | | |
160 | 167 | | |
161 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
| 7 | + | |
| 8 | + | |
0 commit comments