Shape only accepts TensorVariables
Before:
shape(NoneType) -> np.shape(None) -> () (numpy tends to do this for things it doesn't understand)
shape(TypedLists) -> shape(np.asarray(TypedList)) -> either converts or fails. Now TypedList are considered vectors / 1d like python lists
正在显示
请
注册
或者
登录
后发表评论