Allow tensors for graph constants.#830
Conversation
05fba84 to
a79b9c7
Compare
|
Thanks @inexorabletash and @huningxin! Addressed comments. |
cdd7279 to
5c83cc9
Compare
inexorabletash
left a comment
There was a problem hiding this comment.
Overall LGTM, just some annoying nitpicks. I ran the lint tool locally over the PR to avoid surprises later.
5dae5e3 to
673ac96
Compare
|
(FYI - I enabled the CI workflow for this PR and all the tests passed, including the newly added lint rules from #831) |
673ac96 to
85010ec
Compare
inexorabletash
left a comment
There was a problem hiding this comment.
LGTM! Thank you for your patience.
85010ec to
583efa1
Compare
|
Thank you for the discussion here. I'm starting to come around to the idea of constness being just another property of an |
As noted in the issue, sharing weights between graphs is a effective way to enable reuse of device buffers, allowing web developers to manage weight data in graphs similarly to other input or output buffers. Resolves webmachinelearning#760
583efa1 to
18fb614
Compare
|
@fdwr Feel free to merge when ready. Thanks reviewers for the help. |
fdwr
left a comment
There was a problem hiding this comment.
Looks fine to me. Deferring to Ningxin for final review, approval, and merging.
SHA: d98e86d Reason: push, by huningxin Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
As noted in the issue, sharing weights between graphs is a effective way to enable reuse of device buffers, allowing web developers to manage weight data in graphs similarly to other input or output buffers.
@fdwr @huningxin @reillyeon
Based on the work in Chromium by Austin Sullivan.
Resolves #760
Preview | Diff