Home
last modified time | relevance | path

Searched refs:slicing (Results 1 – 25 of 40) sorted by relevance

12

/external/eigen/bench/tensors/
Dtensor_benchmarks_cpu.cc33 BM_FuncCPU(slicing, 4);
34 BM_FuncCPU(slicing, 8);
35 BM_FuncCPU(slicing, 12);
Dtensor_benchmarks_fp16_gpu.cu24 BM_FuncGPU(slicing);
Dtensor_benchmarks_gpu.cu24 BM_FuncGPU(slicing);
Dtensor_benchmarks.h82 void slicing(int num_iters) { in slicing() function
/external/python/cpython2/Doc/library/
Dconstants.rst41 Special value used in conjunction with extended slicing syntax.
Demail.mime.rst13 around, etc. This makes a very convenient interface for slicing-and-dicing MIME
Darray.rst80 Array objects support the ordinary sequence operations of indexing, slicing,
Dsets.rst27 order of insertion. Accordingly, sets do not support indexing, slicing, or
Dxml.sax.handler.rst306 instead of slicing content with the old *offset* and *length* parameters.
Dcollections.rst418 The :meth:`rotate` method provides a way to implement :class:`deque` slicing and
427 To implement :class:`deque` slicing, use a similar approach applying
Dstdtypes.rst719 support slicing, concatenation or repetition, and using ``in``, ``not in``,
1809 order of insertion. Accordingly, sets do not support indexing, slicing, or
2741 A :class:`memoryview` supports slicing to expose its data. Taking a single
2743 slicing will result in a subview::
Ditertools.rst403 specified position. Unlike regular slicing, :func:`islice` does not support
/external/python/cpython2/Doc/reference/
Dexpressions.rst527 primary: `atom` | `attributeref` | `subscription` | `slicing` | `call`
605 single: slicing
614 A slicing selects a range of items in a sequence object (e.g., a string, tuple
616 :keyword:`del` statements. The syntax for a slicing:
619 slicing: `simple_slicing` | `extended_slicing`
632 .. index:: pair: extended; slicing
636 interpreted as a slicing. Rather than further complicating the syntax, this is
638 takes priority over the interpretation as a slicing (this is the case if the
641 simple slicing takes priority over that as an extended slicing.
643 The semantics for a simple slicing are as follows. The primary must evaluate to
[all …]
Dsimple_stmts.rst93 : | `slicing`
111 or slicing), the mutable object must ultimately perform the assignment and
206 .. index:: pair: slicing; assignment
208 * If the target is a slicing: The primary expression in the reference is
263 augtarget: `identifier` | `attributeref` | `subscription` | `slicing`
389 primary object involved; deletion of a slicing is in general equivalent to
Ddatamodel.rst264 .. index:: single: slicing
266 Sequences also support slicing: ``a[i:j]`` selects all items with index *k* such
271 .. index:: single: extended slicing
273 Some sequences also support "extended slicing" with a third "step" parameter:
360 single: slicing
363 slicing notations can be used as the target of assignment and :keyword:`del`
1171 (such as arithmetic operations or subscripting and slicing) by defining methods
1993 classes when implementing slicing.)
2012 slicing of the form ``self[i:j:k]``, a slice object is created, and passed to
2020 found, or for extended slicing of the form ``self[i:j:k]``, a slice object is
[all …]
/external/python/cpython2/Doc/c-api/
Dlist.rst151 to ``list[low:high]``. Negative indices, as when slicing from Python, are not
165 slicing from Python, are not supported.
Dbuffer.rst349 Python programming level: they support slicing, indexing, concatenation, and
356 zero-copy slicing mechanism. Using their ability to reference a block of
/external/python/cpython2/Doc/tutorial/
Dintroduction.rst264 In addition to indexing, *slicing* is also supported. While indexing is used
265 to obtain individual characters, *slicing* allows you to obtain a substring::
318 slicing::
487 >>> squares[-3:] # slicing returns a new list
Dinputoutput.rst24 first way is to do all the string handling yourself; using string slicing and
Ddatastructures.rst419 slicing operations. They are two examples of *sequence* data types (see
/external/llvm/test/CodeGen/X86/
Dload-slice.ll1 ; RUN: llc -mtriple x86_64-apple-macosx -mcpu=corei7-avx -combiner-stress-load-slicing < %s -o - | …
/external/eigen/doc/
DAsciiQuickReference.txt50 // Matrix slicing and blocks. All expressions listed here are read/write.
/external/python/cpython2/Doc/howto/
Dpyporting.rst262 Finally, the indexing of binary data requires careful handling (slicing does
/external/python/cpython2/Doc/whatsnew/
D2.3.rst860 Ever since Python 1.4, the slicing syntax has supported an optional third "step"
939 To simplify implementing sequences that support extended slicing, slice objects
986 * Built-in types now support the extended slicing syntax, as described in
D2.4.rst359 Compared to extended slicing, such as ``range(1,4)[::-1]``, :func:`reversed` is
935 * The inner loops for list and tuple slicing were optimized and now run about

12