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

Ali*_*Ali 7 protocol-buffers neural-network deep-learning caffe

我找不到如何在原型文件中写评论.

有没有办法在prototxt文件中有注释,怎么样?

谢谢

Sha*_*hai 14

您可以通过添加#char 来评论:在该行之后的所有内容都是注释:

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...
Run Code Online (Sandbox Code Playgroud)