arrayview_from_data: ArrayView From Data

Description Usage Arguments

Description

Create an NDArrayView instance from a sparse matrix in CSR format.

Usage

1
2
arrayview_from_data(data, device = NULL, read_only = FALSE,
  borrow = FALSE)

Arguments

data

matrix to be converted

device

instance of DeviceDescriptor

read_only

(bool) whether the data can be modified

borrow

(bool) whether nd_array memory can be borrowed internally to speed up data creation


Microsoft/CNTK-R documentation built on May 28, 2019, 1:52 p.m.