Have a question? Connect with the community at the TensorFlow Forum Visit Forum


Slice a composite tensor along axis from start.


slice_from(tensor, 2, 1) === tensor[:, :, 1:]
sparse_to_dense(slice_from(sparse_tensor, 2, 1))
  === sparse_to_dense(sparse_tensor)[:, :, 1:]

tensor A Tensor or SparseTensor.
axis A python integer.
start A 0D scalar.

The sliced composite tensor.