Creates a slice helper object given a variable. This allows creating a sub-tensor from part of the current contents of a variable. See ${tf.Tensor$`Tensor.__getitem__`} for detailed examples of slicing. This function in addition also allows assignment to a sliced range. This is similar
(var, slice_spec)
source not stored for this graph (policy: none)
nothing calls this directly
no test coverage detected