Skip to content

Commit

Permalink
[R] export C++ functions to R side
Browse files Browse the repository at this point in the history
  • Loading branch information
Qiang Kou (KK) committed May 4, 2016
1 parent 918c14a commit 8ed5746
Show file tree
Hide file tree
Showing 4 changed files with 203 additions and 35 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ deps
.Rproj.user
R-package/inst/*
*.tar.gz
*.tgz
R-package/man/*.Rd

# data
*.rec
Expand Down
9 changes: 9 additions & 0 deletions R-package/NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,12 @@ export(mx.nd.rsqrt)
export(mx.nd.save)
export(mx.nd.sign)
export(mx.nd.sin)
export(mx.nd.softmax.cross.entropy)
export(mx.nd.sqrt)
export(mx.nd.square)
export(mx.nd.sum)
export(mx.nd.sum.mid.internal)
export(mx.nd.transpose)
export(mx.nd.zeros)
export(mx.opt.create)
export(mx.opt.get.updater)
Expand All @@ -94,12 +97,14 @@ export(mx.symbol.Flatten)
export(mx.symbol.FullyConnected)
export(mx.symbol.Group)
export(mx.symbol.IdentityAttachKLSparseReg)
export(mx.symbol.L2Normalization)
export(mx.symbol.LRN)
export(mx.symbol.LeakyReLU)
export(mx.symbol.LinearRegressionOutput)
export(mx.symbol.LogisticRegressionOutput)
export(mx.symbol.MAERegressionOutput)
export(mx.symbol.Pooling)
export(mx.symbol.ROIPooling)
export(mx.symbol.Reshape)
export(mx.symbol.SliceChannel)
export(mx.symbol.Softmax)
Expand All @@ -111,6 +116,7 @@ export(mx.symbol.Variable)
export(mx.symbol.abs)
export(mx.symbol.ceil)
export(mx.symbol.cos)
export(mx.symbol.dot)
export(mx.symbol.exp)
export(mx.symbol.floor)
export(mx.symbol.infer.shape)
Expand All @@ -122,8 +128,11 @@ export(mx.symbol.rsqrt)
export(mx.symbol.save)
export(mx.symbol.sign)
export(mx.symbol.sin)
export(mx.symbol.softmax_cross_entropy)
export(mx.symbol.sqrt)
export(mx.symbol.square)
export(mx.symbol.sum)
export(mx.symbol.transpose)
export(mxnet.export)
export(outputs)
import(Rcpp)
Expand Down
Loading

0 comments on commit 8ed5746

Please sign in to comment.