extract_sptensor: Extract indices from a sparse tensor

Description Usage Arguments

View source: R/sptensor-extract.r

Description

Extracts indices from a sparse tensor and returns as a new tensor. Can also drop dimensions of the tensor that have size 1.

Usage

1

Arguments

x

sptensor

drop

drop dimensions of size 1?

idxmat

matrix of indices requested


tensorr documentation built on May 2, 2019, 3:26 a.m.