forked from pytorch/glow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(trivial) add const to some PlaceholderBindings params (pytorch#3648)
Summary: For the methods of PlaceholderBindings that take a list, we don't ever modify the params and they can be const. Most usefully this lets you call `allocate(module->getPlaceholders())` if the module is const. Documentation: n/a Pull Request resolved: pytorch#3648 Test Plan: build & ran tests Differential Revision: D18045221 Pulled By: nickgg fbshipit-source-id: bbfc93aea01c113dde658b06d87cca7cec9c5224
- Loading branch information
1 parent
2bc5881
commit 65d441c
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters