Skip to contents

Functional if statement.

Usage

nv_if(pred, true, false)

Arguments

pred

(tensorish)
Flag.

true

(NSE)
Expression to evaluate if the condition is true.

false

(NSE)
Expression to evaluate if the condition is false.

Value

tensorish