MCPcopy Create free account
hub / github.com/alibaba/nann / slice

Function slice

tensorflow/tensorflow/python/ops/array_ops.py:807–855  ·  view source on GitHub ↗

Extracts a slice from a tensor. This operation extracts a slice of size `size` from a tensor `input_` starting at the location specified by `begin`. The slice `size` is represented as a tensor shape, where `size[i]` is the number of elements of the 'i'th dimension of `input_` that you want

(input_, begin, size, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

while_loopFunction · 0.70
__getitem__Method · 0.50
_testGradientSliceMethod · 0.50
testHigherRankMethod · 0.50
_RunAndVerifyVariableMethod · 0.50
_RunAndVerifyMethod · 0.50
numpy_reverseFunction · 0.50
handle_optionsFunction · 0.50
_testRandomMethod · 0.50

Calls

no outgoing calls

Tested by 12

__getitem__Method · 0.40
_testGradientSliceMethod · 0.40
testHigherRankMethod · 0.40
_RunAndVerifyVariableMethod · 0.40
_RunAndVerifyMethod · 0.40
numpy_reverseFunction · 0.40
handle_optionsFunction · 0.40
_testRandomMethod · 0.40
make_piece_scalarFunction · 0.40