tf.data.Dataset.from_tensor_slices name argument is not properley saved nor shown
@igormintz when you assign a name to a dataset using tf.data.Dataset.from_tensor_slices, the actual name gets stored in an internal attribute ._name instead of the public name attribute. This can be confusing, as printing the dataset won't show the assigned name.

Could you use the `._name `attribute:
```
ds = tf.data.Dataset.from_tensor_slices(..., name="my_dataset")
actual_name = ds._name
print(f"Actual name: {actual_name}")

```

Thank you! This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. why not change the method form ._name to .name?
how to make the name stick to the tensor so it will show up when printed? @igormintz TensorFlow maintains a consistent API for interacting with tensor attributes. Using a public property like .name ensures uniformity across different operations and functionalities. You can make the name stick to the tensor so it shows up when printed by assigning a name during its creation. You can assign names to any type of tensor created using TensorFlow functions like tf.constant, tf.zeros, tf.random.normal, etc.
Thank you! This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. Are you satisfied with the resolution of your issue?
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=Yes&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/63001">Yes</a>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSfaP12TRhd9xSxjXZjcZFNXPGk4kc1-qMdv3gc6bEP90vY1ew/viewform?entry.85265664=No&entry.2137816233=https://github.com/tensorflow/tensorflow/issues/63001">No</a>

### Issue type

Bug

### Have you reproduced the bug with TensorFlow Nightly?

Yes

### Source

source

### TensorFlow version

2.17.0-dev20240220

### Custom code

Yes

### OS platform and distribution

colab, mac

### Mobile device

_No response_

### Python version

3.10.5

### Bazel version

_No response_

### GCC/compiler version

_No response_

### CUDA/cuDNN version

_No response_

### GPU model and memory

_No response_

### Current behavior?

when trying to name a datset using `tf.data.Dataset.from_tensor_slices`, the name is saved under ._name and not name. When printing the ds, the name is None

### Standalone code to reproduce the issue

```shell
import tensorflow as tf
train_ds = tf.data.Dataset.from_tensor_slices((['a','b']), name="train_ds")
print(train_ds)

print(train_ds._name) #prints train_ds
# print(train_ds.name) # AttributeError: '_TensorSliceDataset' object has no attribute 'name'
```


### Relevant log output

```shell
<_TensorSliceDataset element_spec=TensorSpec(shape=(), dtype=tf.string, name=None)>
```
