MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / strided_slice

Function strided_slice

tensorflow/python/ops/array_ops.py:600–741  ·  view source on GitHub ↗

Extracts a strided slice of a tensor (generalized python array indexing). **Most users will want to use @{tf.Tensor.__getitem__} and @{tf.Variable.__getitem__}.** That allows NumPy style slicing syntax (i.e. `tensor[..., 3:4:-1, tf.newaxis, 3]`). This op is the low-level interface that are

(input_,
                  begin,
                  end,
                  strides=None,
                  begin_mask=0,
                  end_mask=0,
                  ellipsis_mask=0,
                  new_axis_mask=0,
                  shrink_axis_mask=0,
                  var=None,
                  name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

_SliceHelperFunction · 0.85

Calls 2

in_graph_modeMethod · 0.80
ones_likeFunction · 0.70

Tested by

no test coverage detected