def item

stelliferous@0.0.2.0 · tensor.bend:230

import stelliferous@0.0.2.0/tensor.bend as Tensor
import Base

230def item(~Element: Data,tensor: Tensor<Element>) -> Result<&2,&2,Problem,Element>:
231  with_dense(~Element,~Result<&2,&2,Problem,Element>,tensor,storage => shape => fill => status => workers =>
232    +shape = shape
233    single(~Element,shape,to_list(~Element,Tensor{storage,shape,fill,status,workers})))

Uses (6)

Used by (2)