如何在原型文件中写评论?

时间:2016-05-24 15:50:20

标签: neural-network deep-learning caffe protocol-buffers

我找不到如何在原型文本文件中撰写评论。

有没有办法在原型文件中加注,怎么做?

由于

1 个答案:

答案 0 :(得分:13)

您可以通过添加#字符进行评论:之后的所有内容都是注释:

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