This repository was archived by the owner on Nov 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
scala-package/macros/src/main/scala/org/apache/mxnet Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,7 +56,11 @@ private[mxnet] object APIDocGenerator{
5656 def absClassGen (FILE_PATH : String , isSymbol : Boolean ) : String = {
5757 // scalastyle:off
5858 val absClassFunctions = getSymbolNDArrayMethods(isSymbol)
59+ // Defines Operators that should not generated
60+ val notGenerated = Set (" Custom" )
61+ // TODO: Add Filter to the same location in case of refactor
5962 val absFuncs = absClassFunctions.filterNot(_.name.startsWith(" _" ))
63+ .filterNot(ele => notGenerated.contains(ele.name))
6064 .map(absClassFunction => {
6165 val scalaDoc = generateAPIDocFromBackend(absClassFunction)
6266 val defBody = generateAPISignature(absClassFunction, isSymbol)
You can’t perform that action at this time.
0 commit comments