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

Function UpgradeV1LayerType

src/caffe/util/upgrade_proto.cpp:874–960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

872}
873
874const char* UpgradeV1LayerType(const V1LayerParameter_LayerType type) {
875 switch (type) {
876 case V1LayerParameter_LayerType_NONE:
877 return "";
878 case V1LayerParameter_LayerType_ABSVAL:
879 return "AbsVal";
880 case V1LayerParameter_LayerType_ACCURACY:
881 return "Accuracy";
882 case V1LayerParameter_LayerType_ARGMAX:
883 return "ArgMax";
884 case V1LayerParameter_LayerType_BNLL:
885 return "BNLL";
886 case V1LayerParameter_LayerType_CONCAT:
887 return "Concat";
888 case V1LayerParameter_LayerType_CONTRASTIVE_LOSS:
889 return "ContrastiveLoss";
890 case V1LayerParameter_LayerType_CONVOLUTION:
891 return "Convolution";
892 case V1LayerParameter_LayerType_DECONVOLUTION:
893 return "Deconvolution";
894 case V1LayerParameter_LayerType_DATA:
895 return "Data";
896 case V1LayerParameter_LayerType_DROPOUT:
897 return "Dropout";
898 case V1LayerParameter_LayerType_DUMMY_DATA:
899 return "DummyData";
900 case V1LayerParameter_LayerType_EUCLIDEAN_LOSS:
901 return "EuclideanLoss";
902 case V1LayerParameter_LayerType_ELTWISE:
903 return "Eltwise";
904 case V1LayerParameter_LayerType_EXP:
905 return "Exp";
906 case V1LayerParameter_LayerType_FLATTEN:
907 return "Flatten";
908 case V1LayerParameter_LayerType_HDF5_DATA:
909 return "HDF5Data";
910 case V1LayerParameter_LayerType_HDF5_OUTPUT:
911 return "HDF5Output";
912 case V1LayerParameter_LayerType_HINGE_LOSS:
913 return "HingeLoss";
914 case V1LayerParameter_LayerType_IM2COL:
915 return "Im2col";
916 case V1LayerParameter_LayerType_IMAGE_DATA:
917 return "ImageData";
918 case V1LayerParameter_LayerType_INFOGAIN_LOSS:
919 return "InfogainLoss";
920 case V1LayerParameter_LayerType_INNER_PRODUCT:
921 return "InnerProduct";
922 case V1LayerParameter_LayerType_LRN:
923 return "LRN";
924 case V1LayerParameter_LayerType_MEMORY_DATA:
925 return "MemoryData";
926 case V1LayerParameter_LayerType_MULTINOMIAL_LOGISTIC_LOSS:
927 return "MultinomialLogisticLoss";
928 case V1LayerParameter_LayerType_MVN:
929 return "MVN";
930 case V1LayerParameter_LayerType_POOLING:
931 return "Pooling";

Callers 2

TEST_FFunction · 0.85
UpgradeV1LayerParameterFunction · 0.85

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.68