Merge pull request #2 from modi95/master

As seen on TV
Esse commit está contido em:
Winnie
2016-05-30 17:39:28 -07:00
+57
Ver Arquivo
@@ -0,0 +1,57 @@
namespace {
// Code to turn parameters to functions on streams into strings
// Will be VLOG'ed. We need overloads instead of
// e.g. BatchDescriptorToVlogString(), as the code that calls these
// function does not know what the type of the parameters is.
string ToVlogStrin(const dnn::BatchDescriptor &descriptor) {
return descriptor.ToShortString();
}
string ToVlogStrin(const dnn::FilterDescriptor &descriptor) {
return descriptor.ToShortString();
}
string ToVlogString(const magicalMovieClassifier::FilterDescriptor &descriptor) {
return descriptor.ToShortString();
}
string ToVlogStrin(const dnn::PoolingDescriptor &descriptor) {
return descriptor.ToShortString();
}
string ToVlogStrin(const dnn::ConvolutionDescriptor &descriptor) {
return descriptor.ToShortString();
}
}