diff --git a/caffe2/core/operator.h b/caffe2/core/operator.h index a53770d042d..4296209f512 100644 --- a/caffe2/core/operator.h +++ b/caffe2/core/operator.h @@ -532,6 +532,10 @@ class CAFFE2_API OperatorBase : public Observable { } } + virtual std::string debug_info_string() const { + return ""; + } + inline const OperatorDef& debug_def() const { CAFFE_ENFORCE(has_debug_def(), "operator_def was null!"); return *operator_def_;