python cant set attribute

后端 未结 0 1062
孤城傲影
孤城傲影 2021-02-19 23:15

I am making a function to return the shape of a tensor, it is:

def get_shape(lst):
shape = []
l = lst
s = True
while s:
    shape.append(len(l))
    if isinstance         


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