Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/s/p/spartan-HEAD/spartan/expr/filter.py   spartan(Download)
from ..array import extent, tile, distarray
from ..core import LocalKernelResult
from ..util import Assert, join_tuple
from .base import Expr, ListExpr, TupleExpr
from . import base
 
    # create empty destination of same first dimension as the index array
    dst = distarray.create(join_tuple([idx.shape[0]], src.shape[1:]), dtype=src.dtype)
 
    # map over it, fetching the appropriate values for each tile.