NDArray API

Arithmetic Operations

In the following example y can be a Real value or another NDArray

APIExample
+x .+ yElementwise summation
-x .- yElementwise minus
*x .* yElementwise multiplication
/x ./ yElementwise division
^x .^ yElementwise power
%x .% yElementwise modulo

Trigonometric Functions

APIExample
sinsin.(x)Elementwise sine
coscos.(x)Elementwise cosine
tantan.(x)Elementwise tangent
asinasin.(x)Elementwise inverse sine
acosacos.(x)Elementwise inverse cosine
atanatan.(x)Elementwise inverse tangent

Hyperbolic Functions

APIExample
sinhsinh.(x)Elementwise hyperbolic sine
coshcosh.(x)Elementwise hyperbolic cosine
tanhtanh.(x)Elementwise hyperbolic tangent
asinhasinh.(x)Elementwise inverse hyperbolic sine
acoshacosh.(x)Elementwise inverse hyperbolic cosine
atanhatanh.(x)Elementwise inverse hyperbolic tangent

Activation Functions

APIExample
σσ.(x)Sigmoid function
sigmoidsigmoid.(x)Sigmoid function
relurelu.(x)ReLU function
softmaxsoftmax.(x)Softmax function
log_softmaxlog_softmax.(x)Softmax followed by log

Reference

Modules = [MXNet.mx]
Pages = ["ndarray.jl"]