Sign
Description
Returns the sign of input.
Documentation illustration (illustration unavailable in the archive).
Input parameters
Documentation illustration (illustration unavailable in the archive). x : class, n-dimensional tensor.
Output parameters
Documentation illustration (illustration unavailable in the archive). sign : class, returns 1 if the input value is greater than 0, returns 0 if the input value is equal to 0, and returns –1 if the input value is less than 0.
Examples
All these examples are snippets PNG, you can drop these Snippet onto the block diagram and get the depicted code added to your VI (Do not forget to install Accelerator library to run it).
Documentation illustration (illustration unavailable in the archive).
