forked from microsoft/CNTK
-
Notifications
You must be signed in to change notification settings - Fork 0
Unary Operations
Frank Seide edited this page Aug 16, 2016
·
6 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
Sparse values are currently not supported.
Clip():
-
minValue
: inputs less than this value are replaced by this value -
maxValue
: likewise, inputs more than this value are replaced by this value
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))
Getting Started
Additional Documentation
How to use CNTK
Using CNTK Models in Your Code
- Overview
- Nuget Package for Evaluation
- C++ Evaluation Interface
- C# Evaluation Interface
- Evaluating Hidden Layers
- C# Image Transforms for Evaluation
- C# Multi-model Evaluation
- Evaluate in Azure
Advanced topics
Licenses
Source Code & Development