namespace Tensorflow { /// /// In order for a object to be serialized to and from MetaGraphDef, /// the class must implement to_proto() and from_proto() methods /// public interface IProtoBuf { string Name { get; } /// /// Converts a `Variable` to a `VariableDef` protocol buffer. /// /// /// TProtoDef to_proto(string export_scope); /// /// Returns a `Variable` object created from `variable_def`. /// /// /// /// TDef from_proto(TProtoDef proto, string import_scope); } }