Want to know the function of double parentheses in python

ds = Dataset.from_tensor_slices ((features,targets))

as shown in the above figure code, what is the function of double parentheses

Mar.02,2021
The parenthesis in

defines tuple.


there is no such thing as "double parentheses". In the code you posted, the parameter of the Dataset.from_tensor_slices function is a tuple.
if the parameter is a list, will you ask the role of ([]) in python? HHHH

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35979-2bfa1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35979-2bfa1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?