Граф коммитов

553 Коммитов

Автор SHA1 Сообщение Дата
Evan Shelhamer 40a15486f8 Merge pull request #172 from erictzeng/split_cuda
Split source files between CUDA and CPU code. Pave the way for #3 and #122.
2014-02-26 21:14:34 -08:00
Eric Tzeng b17ac6620b Splitting source files between CUDA and CPU code. 2014-02-26 18:45:45 -08:00
Evan Shelhamer de4f7a419f Merge pull request #168 from jeffdonahue/fix-lint-bugs
Fix bugs introduced by lint
2014-02-26 17:56:57 -08:00
Jeff Donahue 52a539dcd1 fix python/matlab wrapper bugs introduced by lint; change linter->lint
in Makefile
2014-02-26 16:54:25 -08:00
Jeff Donahue 5fdf55c437 make lint will not rerun if successful and no source files have been
changed; saves output to build/cpp_lint.log (or build/cpp_lint.error_log
on failure)
2014-02-26 16:54:25 -08:00
Evan Shelhamer 1f1d82b068 Merge pull request #163 from jeffdonahue/linter
Lint C++ (suffer for fashion)
2014-02-26 15:42:39 -08:00
Jeff Donahue 218ca1522d cpplint.py -> cpp_lint.py and NOLINT_NEXTLINE -> NOLINT_NEXT_LINE 2014-02-26 15:42:39 -08:00
Jeff Donahue 41246fce42 add new tools dir to linted dir list 2014-02-26 15:42:39 -08:00
Jeff Donahue 8c58e415b4 fix linter errors in examples 2014-02-26 15:42:39 -08:00
Jeff Donahue a51e35bd6c add examples, python, matlab to NONGEN_CXX_SRCS so they are linted as
well
2014-02-26 15:42:39 -08:00
Jeff Donahue 598edbf169 fix compiler warning for test_hdf5data_layer 2014-02-26 15:42:39 -08:00
Jeff Donahue c66937cafb fix post-rebase linter errors 2014-02-26 15:42:39 -08:00
Jeff Donahue 5abaf5ea30 long -> int64_t; all linter errors fixed. woohoo! 2014-02-26 15:42:39 -08:00
Jeff Donahue 5b21f0d9e9 handle linter stream errors 2014-02-26 15:42:38 -08:00
Jeff Donahue e811565cf9 allow TODO without username 2014-02-26 15:42:38 -08:00
Jeff Donahue e4ff9d08aa make test_gradient_check_util methods use pointers for non-const inputs
(also change EXPECT_LT and EXPECT_GT pair to EXPECT_NEAR)
2014-02-26 15:42:38 -08:00
Jeff Donahue 22fa0a2945 fix most linter errors 2014-02-26 15:42:38 -08:00
Jeff Donahue b065ae215a add NOLINT_NEXTLINE to suppress linter errors on nextline 2014-02-26 15:42:38 -08:00
Jeff Donahue 488a4bd4a7 exclude proto generated files from lint 2014-02-26 15:42:38 -08:00
Jeff Donahue 466ec38da1 add hpp to valid cpplint extensions 2014-02-26 15:42:38 -08:00
Jeff Donahue 4b8fe9bf58 fix matcaffe and pycaffe linter errors 2014-02-26 15:42:38 -08:00
Jeff Donahue dd7854c52f suppress linter errors due to not including the directory when naming .h
files
2014-02-26 15:42:38 -08:00
Kai Li 8699d122d9 Reverse the order of hdf5_hl hdf5 as LIBRARIES in Makefile 2014-02-26 15:42:37 -08:00
Jeff Donahue ba95a87e11 add cpplint.py and "make lint" to run on all c source files 2014-02-26 15:42:37 -08:00
Sergey Karayev 9373986359 Merge pull request #147 from sergeyk/hdf5_data
HDF5DataLayer: read matrix of features and labels from HDF5 file as input
2014-02-26 15:42:37 -08:00
Evan Shelhamer f3edc7c504 name blobs and params for their layers in python wrapper
note that pairs of params with the same layer name are the
params & bias
2014-02-26 15:42:37 -08:00
Sergey Karayev 420c9288af minor comment edit 2014-02-26 15:42:37 -08:00
Sergey Karayev 92302c9029 HDF5DataLayer, with test. 2014-02-26 15:42:37 -08:00
Sergey Karayev 4eca4d41cd Adding GPU coverage to the DataLayer test. 2014-02-26 15:42:37 -08:00
Evan Shelhamer 800ba3e9fa Merge pull request #128 from mavenlin/pad-im2col
im2col and col2im learn to pad and padding layer is obsolete
2014-02-26 15:42:32 -08:00
linmin 68627aeeec remove cuda_timer as is no longer needed 2014-02-26 15:41:58 -08:00
linmin 870664626a remove padding_layer and its test 2014-02-26 15:41:58 -08:00
linmin ab1e05fa7c unified to padding aware version
remove test code (no longer needed and won't compile)
2014-02-26 15:41:58 -08:00
linmin 2848aa1f8d remove padding layers in imagenet definitions 2014-02-26 15:41:58 -08:00
linmin 4b273e35cc remove the pad=0 case in conv_layer and im2col_layer 2014-02-26 15:41:57 -08:00
linmin 6cd2cd2077 add code to measure timing 2014-02-26 15:41:57 -08:00
linmin 60bb4d4916 add test code to test the padding aware im2col col2im functions 2014-02-26 15:41:57 -08:00
linmin 683cbc1cae implemented padding aware im2col and col2im functions 2014-02-26 15:41:57 -08:00
Evan Shelhamer 9da7bcb297 Merge pull request #167 from BVLC/next
So be it.
2014-02-26 15:32:42 -08:00
Evan Shelhamer 527cfab7cf Define split layer (merge trick)
Originally authored by Jeff Donahue, but this commit was needed for
historical reasons.
2014-02-26 14:56:37 -08:00
Evan Shelhamer a8c7407271 Merge pull request #129 from jeffdonahue/dags-by-split
Welcome to the model of forking paths.
2014-02-26 14:41:57 -08:00
Jeff Donahue 4cc0faa461 minor cleanup; only get blob_name if needed 2014-02-26 14:41:27 -08:00
Jeff Donahue 0436e69b47 add idempotence test 2014-02-26 14:41:27 -08:00
Jeff Donahue b79667d621 add imagenet no split insertion test 2014-02-26 14:41:27 -08:00
Jeff Donahue c933a16b37 fix split layer insertion bug with in-place layers 2014-02-26 14:41:27 -08:00
Jeff Donahue e1d0c97277 remove unnecessary include 2014-02-26 14:41:27 -08:00
Jeff Donahue 685a0fd65d eliminate some cruft by relying on std::map default initializations 2014-02-26 14:41:27 -08:00
Jeff Donahue 2822a81cfe get rid of messy snprintf string concatenation 2014-02-26 14:41:27 -08:00
Jeff Donahue 00aca7ad98 get_split_blob_name returns a string to remove some verbosity 2014-02-26 14:41:27 -08:00
Jeff Donahue 90c581dfc1 remove redundant add_bottom (immediately cleared and then re-added) 2014-02-26 14:41:27 -08:00