uninit

create new variable with uninitialized array and the same shape/strides to v on CPU

  1. auto uninit(Variable!(T, dim, HostStorage) v)
    uninit
    (
    T
    size_t dim
    )
    ()
  2. auto uninit(Variable!(T, dim, DeviceStorage) v)

Meta