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

Function slice

tensorflow/python/ops/array_ops.py:548–596  ·  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 to

(input_, begin, size, name=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

assign_from_checkpointFunction · 0.85
_gen_slicesFunction · 0.85
__init__Method · 0.85
test_sliceMethod · 0.85
test_slicesMethod · 0.85
test_invalid_inputMethod · 0.85
setUpMethod · 0.85
slice_functionFunction · 0.85
selectFunction · 0.85
test_sliceMethod · 0.85
test_slicesMethod · 0.85
test_slice_unlabeledMethod · 0.85

Calls

no outgoing calls

Tested by 15

test_sliceMethod · 0.68
test_slicesMethod · 0.68
test_invalid_inputMethod · 0.68
setUpMethod · 0.68
test_sliceMethod · 0.68
test_slicesMethod · 0.68
test_slice_unlabeledMethod · 0.68
__getitem__Method · 0.68
_testGradientSliceMethod · 0.68
testHigherRankMethod · 0.68
_RunAndVerifyVariableMethod · 0.68