Merge pull request #43 from nivoc/patch-2
Improved to two spaces instead of four!
Esse commit está contido em:
+20
-20
@@ -1,26 +1,26 @@
|
|||||||
namespace {
|
namespace {
|
||||||
// Code to turn parameters to functions on streams into strings
|
// Code to turn parameters to functions on streams into strings
|
||||||
// Will be VLOG'ed. We need overloads instead of
|
// Will be VLOG'ed. We need overloads instead of
|
||||||
// e.g. BatchDescriptorToVlogString(), as the code that calls these
|
// e.g. BatchDescriptorToVlogString(), as the code that calls these
|
||||||
// function does not know what the type of the parameters is.
|
// function does not know what the type of the parameters is.
|
||||||
|
|
||||||
string ToVlogStrin(const dnn::BatchDescriptor &descriptor) {
|
string ToVlogStrin(const dnn::BatchDescriptor &descriptor) {
|
||||||
return descriptor.ToShortString();
|
return descriptor.ToShortString();
|
||||||
}
|
}
|
||||||
|
|
||||||
string ToVlogStrin(const dnn::FilterDescriptor &descriptor) {
|
string ToVlogStrin(const dnn::FilterDescriptor &descriptor) {
|
||||||
return descriptor.ToShortString();
|
return descriptor.ToShortString();
|
||||||
}
|
}
|
||||||
|
|
||||||
string ToVlogString(const magicalMovieClassifier::FilterDescriptor &descriptor) {
|
string ToVlogString(const magicalMovieClassifier::FilterDescriptor &descriptor) {
|
||||||
return descriptor.ToShortString();
|
return descriptor.ToShortString();
|
||||||
}
|
}
|
||||||
|
|
||||||
string ToVlogStrin(const dnn::PoolingDescriptor &descriptor) {
|
string ToVlogStrin(const dnn::PoolingDescriptor &descriptor) {
|
||||||
return descriptor.ToShortString();
|
return descriptor.ToShortString();
|
||||||
}
|
}
|
||||||
|
|
||||||
string ToVlogStrin(const dnn::ConvolutionDescriptor &descriptor) {
|
string ToVlogStrin(const dnn::ConvolutionDescriptor &descriptor) {
|
||||||
return descriptor.ToShortString();
|
return descriptor.ToShortString();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Referência em uma Nova Issue
Bloquear um usuário