@@ -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();
|
||||
}
|
||||
|
||||
}
|
||||
Referência em uma Nova Issue
Bloquear um usuário