extract_sptensor: Extract indices from a sparse tensor

Description Usage Arguments

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


zamorarr/tensorr documentation built on May 4, 2019, 9:08 p.m.