(tensors)
| 1910 | @staticmethod |
| 1911 | @functools.wraps(DatasetV2.from_tensor_slices) |
| 1912 | def from_tensor_slices(tensors): |
| 1913 | return DatasetV1Adapter(DatasetV2.from_tensor_slices(tensors)) |
| 1914 | |
| 1915 | @staticmethod |
| 1916 | @deprecation.deprecated(None, "Use `tf.data.Dataset.from_tensor_slices()`.") |
nothing calls this directly
no test coverage detected