このブログを読んでいて、以下の部分で分からないところがあります。
Python
1def combine_images(generated_images): 2 total = generated_images.shape[0] 3 cols = int(math.sqrt(total)) 4 rows = math.ceil(float(total)/cols) 5 ...
このfloat(total)
というのは、単にtotal
ではいけないのでしょうか?
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2018/04/12 07:21