def pick0

bend-ml-tensor-array@0.1.19.0 · main.bend:868

import bend-ml-tensor-array@0.1.19.0/main.bend as BendMlTensorArray
import Base

868def pick0(b: Bool, +v: F32) -> F32:
869  match b:
870    case True{}:
871      v
872    case False{}:
873      0.0

Uses (2)

Used by (8)