Skip to content
Closed
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
68f51c8
Added tanh activation function layer.
Feb 16, 2014
9a45a0a
Added a test for the tanh layer.
Feb 16, 2014
207fd71
add SplitLayer and Net::AddSplits to transform shared bottom blobs into
jeffdonahue Feb 15, 2014
08bbf6a
make split_layer backward obey propagate_down
jeffdonahue Feb 15, 2014
36db05f
add split layer tests
jeffdonahue Feb 15, 2014
b2a78f6
add split layer tests
jeffdonahue Feb 15, 2014
0082ac4
add split layer insertion tests; move split insertion code to util file
jeffdonahue Feb 15, 2014
9452a31
some cleanup
jeffdonahue Feb 15, 2014
2fce080
Merge pull request #116 from aravindhm/tanh
shelhamer Feb 18, 2014
ec19814
eliminate redundant code with get_split_blob_name method
jeffdonahue Feb 15, 2014
10d7869
change \n's to less distracting spaces in hard-coded proto strings
jeffdonahue Feb 15, 2014
26414dd
give first top split blob same name as bottom blob
jeffdonahue Feb 16, 2014
98180ff
allow in place computation of SplitLayer 0th top blob
jeffdonahue Feb 16, 2014
e948da1
change \" in test_split_layer to ' for readability
jeffdonahue Feb 16, 2014
6dc6f1a
remove pointlessly duplicated CheckGradientExhaustive calls (I screwed
jeffdonahue Feb 16, 2014
6e8d332
fix comment typo
jeffdonahue Feb 16, 2014
1800802
add test for layer with two tops that are inputs to multiple layers
jeffdonahue Feb 16, 2014
f77e25a
remove redundant add_bottom (immediately cleared and then re-added)
jeffdonahue Feb 16, 2014
03c57f6
get_split_blob_name returns a string to remove some verbosity
jeffdonahue Feb 16, 2014
e9228ce
get rid of messy snprintf string concatenation
jeffdonahue Feb 16, 2014
fce8f71
eliminate some cruft by relying on std::map default initializations
jeffdonahue Feb 16, 2014
2fb43b4
remove unnecessary include
jeffdonahue Feb 16, 2014
f757b6d
fix split layer insertion bug with in-place layers
jeffdonahue Feb 18, 2014
bf5e75e
add imagenet no split insertion test
jeffdonahue Feb 18, 2014
bb8e0cd
add idempotence test
jeffdonahue Feb 18, 2014
26630fe
minor cleanup; only get blob_name if needed
jeffdonahue Feb 18, 2014
5792f44
Merge pull request #129 from jeffdonahue/dags-by-split
shelhamer Feb 19, 2014
9c5d807
Set leveldb options.max_open_files = 100. Fix #13 and #38
sguada Feb 25, 2014
ee00953
Merge pull request #154 from sguada/leveldb_max_open_files
shelhamer Feb 25, 2014
995351d
implemented padding aware im2col and col2im functions
mavenlin Feb 12, 2014
10488de
add test code to test the padding aware im2col col2im functions
mavenlin Feb 14, 2014
5e56898
add code to measure timing
mavenlin Feb 18, 2014
871d966
remove the pad=0 case in conv_layer and im2col_layer
mavenlin Feb 25, 2014
dbab483
remove padding layers in imagenet definitions
mavenlin Feb 25, 2014
07fabad
unified to padding aware version
mavenlin Feb 25, 2014
91943d1
remove padding_layer and its test
mavenlin Feb 25, 2014
ab820d7
remove cuda_timer as is no longer needed
mavenlin Feb 25, 2014
ae56141
Merge pull request #128 from mavenlin/pad-im2col
shelhamer Feb 25, 2014
37f340b
name blobs and params for their layers in python wrapper
shelhamer Feb 15, 2014
bfa4d5a
visualization of the conv layer kernels
tdomhan Feb 25, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add idempotence test
  • Loading branch information
jeffdonahue authored and shelhamer committed Feb 23, 2014
commit bb8e0cdd0166ab95d65988c744207b507e5c0111
8 changes: 8 additions & 0 deletions src/caffe/test/test_split_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,9 @@ class SplitLayerInsertionTest : public ::testing::Test {
SplitLayerInsertionTest() { };
void RunInsertionTest(
const string& input_param_string, const string& output_param_string) {
// Test that insert_splits called on the proto specified by
// input_param_string results in the proto specified by
// output_param_string.
NetParameter input_param;
CHECK(google::protobuf::TextFormat::ParseFromString(
input_param_string, &input_param));
Expand All @@ -169,6 +172,11 @@ class SplitLayerInsertionTest : public ::testing::Test {
insert_splits(input_param, &actual_output_param);
EXPECT_EQ(expected_output_param.DebugString(),
actual_output_param.DebugString());
// Also test idempotence.
NetParameter double_split_insert_param;
insert_splits(actual_output_param, &double_split_insert_param);
EXPECT_EQ(actual_output_param.DebugString(),
double_split_insert_param.DebugString());
}
};

Expand Down