Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Memroy エラーなしで A dot B を実行するアイデアはありますか?
結果は 250000x250000 のマトリックスになり、約 0.5 テラバイトの RAM が必要になります。
ということnumpy.dot(B, A)ですか?
numpy.dot(B, A)
計算しようとしている内積は 250000x250000 の配列を生成します。デフォルトの倍精度浮動小数点を使用している場合、500Gbのメモリが必要になります。それがあなたが必要とするものだと確信していますか?