You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
This PR adds a new field to Tensor: unpaddedSize_.
Since we have a static batch size we copy the entire tensor to the device regardless of number of inputs. This would allow a DeviceManager to only copy the inputs if it supports it.
This means adding additional metaData to Tensor, this seemed cleaner than passing side channel data.
Documentation: NA
Pull Request resolved: #2970
Differential Revision: D15577757
Pulled By: gcatron
fbshipit-source-id: 105bad588c13cd6746a63e14594c0ba57c8fb974
0 commit comments