MCPcopy Create free account
hub / github.com/BVLC/caffe / TEST_F

Function TEST_F

src/caffe/test/test_net.cpp:1482–1504  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1480};
1481
1482TEST_F(FilterNetTest, TestNoFilter) {
1483 const string& input_proto =
1484 "name: 'TestNetwork' "
1485 "layer { "
1486 " name: 'data' "
1487 " type: 'Data' "
1488 " top: 'data' "
1489 " top: 'label' "
1490 "} "
1491 "layer { "
1492 " name: 'innerprod' "
1493 " type: 'InnerProduct' "
1494 " bottom: 'data' "
1495 " top: 'innerprod' "
1496 "} "
1497 "layer { "
1498 " name: 'loss' "
1499 " type: 'SoftmaxWithLoss' "
1500 " bottom: 'innerprod' "
1501 " bottom: 'label' "
1502 "} ";
1503 this->RunFilterNetTest(input_proto, input_proto);
1504}
1505
1506TEST_F(FilterNetTest, TestFilterLeNetTrainTest) {
1507 const string& input_proto =

Callers

nothing calls this directly

Calls 1

RunFilterNetTestMethod · 0.80

Tested by

no test coverage detected