Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to write comments in prototxt files?

I can't find how to write comments in prototxt files.

Is there any way to have comments in a prototxt file, how?

Thanks

like image 271
Ali Sharifi B. Avatar asked May 24 '16 15:05

Ali Sharifi B.


1 Answers

You can comment by adding the # char: everything in the line after that is a comment:

layer {
  name: "aLayerWithComments" # I picked this cool name by myself
  type: "ReLU"
  bottom: "someData" # this is the output of the layer below
  top: "someData" # same name means this is an "in-place" layer
}
# and now you can comment the entire line...
like image 170
Shai Avatar answered Nov 08 '22 22:11

Shai