【问题标题】:How to write comments in prototxt files?如何在 prototxt 文件中写注释?
【发布时间】:2016-09-21 22:48:15
【问题描述】:

我找不到如何在 prototxt 文件中编写 cmets。

有没有办法在prototxt文件中包含cmets,如何?

谢谢

【问题讨论】:

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


【解决方案1】:

您可以通过添加 # 字符来发表评论:之后的行中的所有内容都是评论:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-02-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-01-08
    • 2012-02-11
    相关资源
    最近更新 更多