Merge pull request #318 from jeffdonahue/blob-copy-by-reference
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Sun, 13 Apr 2014 01:40:08 +0000 (18:40 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Sun, 13 Apr 2014 01:40:08 +0000 (18:40 -0700)
commit588c8e50da3d4f32b36782baa26f0c24fb34838d
treefb674d5278bdaa96847cbe9127338fab205281a6
parent2e46b3cc54c1cc07eb7658bcc2762e5d011c3870
parent0d1a8ab55a75d31ef12166cba470c23f58e349d8
Merge pull request #318 from jeffdonahue/blob-copy-by-reference

add Share{Data,Diff} methods to blobs to enable "virtual" copies

- reduce operations by not copying values
- spare memory by shared_ptrs
- simplify SplitLayer logic