warp.indexedfabricarray#
- class warp.indexedfabricarray(fa=None, indices=None, dtype=None, ndim=None)[source]#
Indexed view into a
fabricarray.Provides access to a subset of elements from a Fabric array, selected by an index array. This is similar to how
warp.indexedarrayrelates towarp.array.- Parameters:
fa – The underlying
fabricarrayto index into.indices – A
warp.arrayof integer indices specifying which elements to access.dtype – Data type of the array elements (inferred from
faif provided).ndim – Number of dimensions (inferred from
faif provided).
See also
Methods
__init__([fa, indices, dtype, ndim])assign(src)contiguous()fill_(value)list()numpy()to(device)zero_()Attributes