Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
amend the rest of them
Browse files Browse the repository at this point in the history
  • Loading branch information
lanking520 committed Apr 18, 2019
1 parent 387edcc commit 085649f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ import scala.collection.mutable.ListBuffer
class LibInfo {
/**
* Get the list of the symbol ids
* @param symbolList pass in an empty ListBuffer and obtain a list of operator ids
* @return callback result
* @param symbolList Pass in an empty ListBuffer and obtain a list of operator IDs
* @return Callback result
*/
@native def mxSymbolListAtomicSymbolCreators(symbolList: ListBuffer[SymbolHandle]): Int

/**
* Get the detailed information of an operator
* @param handle The id of the operator
* @param name name of the operator
* @param desc description of the operator
* @param numArgs number of arguments
* @param argNames argument names
* @param argTypes argument types
* @param argDescs argument descriptions
* @param handle The ID of the operator
* @param name Name of the operator
* @param desc Description of the operator
* @param numArgs Number of arguments
* @param argNames Argument names
* @param argTypes Argument types
* @param argDescs Argument descriptions
* @param keyVarNumArgs Kwargs number
* @return callback result
* @return Callback result
*/
@native def mxSymbolGetAtomicSymbolInfo(handle: SymbolHandle,
name: RefString,
Expand All @@ -51,16 +51,16 @@ class LibInfo {
keyVarNumArgs: RefString): Int
/**
* Get the name list of all operators
* @param names names of all operators
* @return callback result
* @param names Names of all operator
* @return Callback result
*/
@native def mxListAllOpNames(names: ListBuffer[String]): Int

/**
* get operator id from its name
* Get operator ID from its name
* @param opName Operator name
* @param opHandle Operator id
* @return callback result
* @param opHandle Operator ID
* @return Callback result
*/
@native def nnGetOpHandle(opName: String, opHandle: RefLong): Int
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ private[mxnet] class AddNDArrayRandomAPIs(isContrib: Boolean) extends StaticAnno
*/
private[mxnet] object NDArrayMacro extends GeneratorBase {
/**
* Methods that check the isContrib and call code generation
* Methods that check the ``isContrib`` and call code generation
* @param c Context used for code gen
* @param annottees Annottees used to define Class or Module
* @return Generated code for injection
Expand Down Expand Up @@ -102,7 +102,7 @@ private[mxnet] object NDArrayMacro extends GeneratorBase {
*/
private[mxnet] object TypedNDArrayAPIMacro extends GeneratorBase {
/**
* Methods that check the isContrib and call code generation
* Methods that check the ``isContrib`` and call code generation
* @param c Context used for code gen
* @param annottees Annottees used to define Class or Module
* @return Generated code for injection
Expand Down Expand Up @@ -179,7 +179,7 @@ private[mxnet] object TypedNDArrayAPIMacro extends GeneratorBase {
private[mxnet] object TypedNDArrayRandomAPIMacro extends GeneratorBase
with RandomHelpers {
/**
* methods that check the isContrib and call code generation
* methods that check the ``isContrib`` and call code generation
* @param c Context used for code gen
* @param annottees annottees used to define Class or Module
* @return generated code for injection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ private[mxnet] class AddSymbolRandomAPIs(isContrib: Boolean) extends StaticAnnot
private[mxnet] object SymbolMacro extends GeneratorBase {

/**
* Methods that check the isContrib and call code generation
* Methods that check the ``isContrib`` and call code generation
* @param c Context used for code gen
* @param annottees Annottees used to define Class or Module
* @return Generated code for injection
Expand Down Expand Up @@ -98,7 +98,7 @@ private[mxnet] object SymbolMacro extends GeneratorBase {
private[mxnet] object TypedSymbolAPIMacro extends GeneratorBase {

/**
* Methods that check the isContrib and call code generation
* Methods that check the ``isContrib`` and call code generation
* @param c Context used for code gen
* @param annottees Annottees used to define Class or Module
* @return Generated code for injection
Expand Down Expand Up @@ -174,7 +174,7 @@ private[mxnet] object TypedSymbolRandomAPIMacro extends GeneratorBase
with RandomHelpers {

/**
* Methods that check the isContrib and call code generation
* Methods that check the ``isContrib`` and call code generation
* @param c Context used for code gen
* @param annottees Annottees used to define Class or Module
* @return Generated code for injection
Expand Down

0 comments on commit 085649f

Please sign in to comment.