Pytorch: In der Con2d-Ebene, wie man "Same" nicht "Null" auffüllt

Erstellt am 17. März 2017  ·  3Kommentare  ·  Quelle: pytorch/pytorch

In der Con2d-Ebene, wie man "Same" nicht "Null" auffüllt.

In Tensorflow sehe ich die Option zu wählen, ob das "Gleiche" Pixel als Kante oder "Null" Pixel aufgefüllt werden soll. Aber hat Dose Pytorch diese Option?

Hilfreichster Kommentar

pytorch hat diese Option nicht. Wenn Sie so etwas tun möchten, müssen Sie explizit über nn.functional.pad im Replikationsmodus auffüllen: http://pytorch.org/docs/nn.html#torch.nn.functional.pad

Alle 3 Kommentare

pytorch hat diese Option nicht. Wenn Sie so etwas tun möchten, müssen Sie explizit über nn.functional.pad im Replikationsmodus auffüllen: http://pytorch.org/docs/nn.html#torch.nn.functional.pad

Danke

Warum hat pytorch diese Funktion nicht? Es würde beim schnellen Prototyping sehr helfen

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen