How to write comments in prototxt files?

旧城冷巷雨未停 提交于 2019-12-08 17:35:58

问题


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

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

Thanks


回答1:


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...


来源:https://stackoverflow.com/questions/37418370/how-to-write-comments-in-prototxt-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!