Wrap a 2-D array as a tuple

前端 未结 0 2017
忘掉有多难
忘掉有多难 2021-02-04 22:18

I have a, for example, numpy array X with a shape of [500, 20]. I want to convert it to a tuple Y that has 1 element, which is that numpy array X

相关标签:
回答
  • 消灭零回复
提交回复
热议问题