Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/python/ops/
Dpartitioned_variables.py245 shape, slicing, initializer, dtype=dtypes.float32, argument
288 if len(shape) != len(slicing):
291 (shape, slicing))
298 partitioner = lambda **unused_kwargs: slicing
Dvariable_scope.py2416 slicing = partitioner(shape=shape, dtype=dtype)
2417 if not isinstance(slicing, collections_lib.Sequence):
2419 % slicing)
2420 if len(slicing) != shape.ndims:
2423 "Variable's rank: %s vs. %s" % (slicing, shape))
2424 if any(p < 1 for p in slicing):
2427 slicing)
2428 if sum(p > 1 for p in slicing) > 1:
2431 "shape: %s, partitioning: %s" % (shape, slicing))
2432 return slicing
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/lib/
DBUILD177 ":slicing",
198 ":slicing",
261 ":slicing",
294 name = "slicing",
295 srcs = ["slicing.cc"],
296 hdrs = ["slicing.h"],
308 ":slicing",
409 ":slicing",
460 ":slicing",
485 ":slicing",
/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/tensorflow/tensorflow/contrib/quantize/python/
Dgraph_matcher_test.py160 slicing = array_ops.slice(reshape, [0, 0], [-1, -1])
161 transpose = array_ops.transpose(slicing)
164 self.assertEqual(match_result.get_tensor('slice'), slicing)
/external/python/cpython3/Doc/c-api/
Dlist.rst114 to ``list[low:high]``. Negative indices, as when slicing from Python, are not
124 slicing from Python, are not supported.
Dmapping.rst14 Return ``1`` if the object provides mapping protocol or supports slicing,
/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/library/
Dconstants.rst41 Special value used in conjunction with extended slicing syntax.
/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
2005 classes when implementing slicing.)
2024 slicing of the form ``self[i:j:k]``, a slice object is created, and passed to
2032 found, or for extended slicing of the form ``self[i:j:k]``, a slice object is
[all …]
/external/python/cpython3/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 substring::
318 slicing::
393 >>> squares[-3:] # slicing returns a new list
/external/python/cpython3/Doc/library/
Dconstants.rst58 with extended slicing syntax for user-defined container data types.
/external/python/cpython3/Doc/reference/
Dsimple_stmts.rst93 : | `slicing`
97 *subscription*, and *slicing*.)
110 or slicing), the mutable object must ultimately perform the assignment and
221 .. index:: pair: slicing; assignment
223 * If the target is a slicing: The primary expression in the reference is
285 augtarget: `identifier` | `attributeref` | `subscription` | `slicing`
465 primary object involved; deletion of a slicing is in general equivalent to
Dexpressions.rst750 primary: `atom` | `attributeref` | `subscription` | `slicing` | `call`
825 (counting from zero). Since the support for negative indices and slicing
843 single: slicing
845 single: : (colon); slicing
846 single: , (comma); slicing
854 A slicing selects a range of items in a sequence object (e.g., a string, tuple
856 :keyword:`del` statements. The syntax for a slicing:
859 slicing: `primary` "[" `slice_list` "]"
869 interpreted as a slicing. Rather than further complicating the syntax, this is
871 takes priority over the interpretation as a slicing (this is the case if the
[all …]
/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
/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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dload-slice.ll1 ; RUN: llc -mtriple x86_64-apple-macosx -mcpu=corei7-avx -combiner-stress-load-slicing < %s -o - | …
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/
DRISCVInstrFormats.td19 // specification describes immediate encoding in terms of bit-slicing
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
DBUILD155 "//tensorflow/compiler/xla/client/lib:slicing",

1234