如何在prototxt文件中写注释? [英] How to write comments in prototxt files?
本文介绍了如何在prototxt文件中写注释?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我找不到如何在 prototxt 文件中写注释.
I can't find how to write comments in prototxt files.
有什么方法可以在prototxt文件中添加注释吗?
Is there any way to have comments in a prototxt file, how?
谢谢
推荐答案
您可以通过添加#
char:注释:此行之后的所有内容均为注释:
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...
这篇关于如何在prototxt文件中写注释?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文