ConstantTimesLayer

ConstantTimesLayer 已被 NetGraph 替代.

ConstantTimesLayer[]

表示把输入乘以可学习的缩放数组的网络层.

ConstantTimesLayer[opts]

包括初始缩放和其他参数的选项.

更多信息

  • ConstantTimesLayer[] 的计算结果为等价的 NetGraph.

范例

打开所有单元关闭所有单元

基本范例  (1)

创建一个网络,用可学习的缩放数组乘以它的输入:

选项  (1)

"Scaling"  (1)

指定初始比例:

对输入向量应用该层:

Wolfram Research (2017),ConstantTimesLayer,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ConstantTimesLayer.html (更新于 2020 年).

文本

Wolfram Research (2017),ConstantTimesLayer,Wolfram 语言函数,https://reference.wolfram.com/language/ref/ConstantTimesLayer.html (更新于 2020 年).

CMS

Wolfram 语言. 2017. "ConstantTimesLayer." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2020. https://reference.wolfram.com/language/ref/ConstantTimesLayer.html.

APA

Wolfram 语言. (2017). ConstantTimesLayer. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/ConstantTimesLayer.html 年

BibTeX

@misc{reference.wolfram_2024_constanttimeslayer, author="Wolfram Research", title="{ConstantTimesLayer}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/ConstantTimesLayer.html}", note=[Accessed: 13-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_constanttimeslayer, organization={Wolfram Research}, title={ConstantTimesLayer}, year={2020}, url={https://reference.wolfram.com/language/ref/ConstantTimesLayer.html}, note=[Accessed: 13-November-2024 ]}