dproto
dproto copied to clipboard
would be nice to show examples derived from real use cases
would be nice to show examples derived from real use cases to see where it works and where it doesn't yet work;
eg with no imports: https://github.com/BVLC/caffe/blob/master/src/caffe/proto/caffe.proto
more complex eg with imports: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/framework/graph.proto
eg: loading from prototxt text format: https://github.com/BVLC/caffe/blob/master/models/bvlc_reference_caffenet/solver.prototxt
eg: loading from proto wire format: ...
loading from prototxt text format
what for? is it working somewhere?
if you're asking whether protocol buffer text format is used, yes it used extensively in companies that use protocol buffers; [that file provides such an example]. Use cases: conveniently define protos in a human readable way, eg in tests, when writing configuration, as a replacement for command line flags (1 flag as proto ascii format instead of multiple command line flags)
In my opinion this vicious practice must remain the problem of these companies
In my opinion this vicious practice must remain the problem of these companies
Care to elaborate? Which part of it is nasty? If google has a strong use case for it, I'm sure others have as well.