-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Unary Operations
Frank Seide edited this page Aug 16, 2016
·
8 revisions
Common unary elementwise functions and operations.
Abs (x)
Ceil (x)
Cosine (x)
Clip (x, minValue, maxValue)
Exp (x)
Floor (x)
Log (x)
Negate (x)
-x
BS.Boolean.Not (b)
!b
Reciprocal (x)
Round (x)
Sin (x)
Sqrt (x)
-
x
: argument to apply the function or operation to
Result of applying the function or operation. The output's tensor shape is the same as the input's.
These are common functions and unary operations.
Note that BS.Boolean.Not()
expects inputs to be 0 or 1.
MySoftmax (z) = Exp (LogSoftmax (z))