层s in a layer array or layer graph pass data specified as formatteddlarray
objects.
You can interact with thesedlarray
自动分化工作流中的对象,例如开发自定义层时,使用functionLayer
object, or using the向前
和预测
functions withdlnetwork
objects.
This table shows the supported input formats ofFlattenLayer
objects and the corresponding output format. If the output of the layer is passed to a custom layer that does not inherit from thennet.layer.mormattable
班级或FunctionLayer
对象与格式
option set tofalse
, then the layer receives an unformatteddlarray
object with dimensions ordered corresponding to the formats outlined in this table.
Input Format |
输出格式 |
"CB" (channel, batch)
|
"CB" (channel, batch)
|
“ SCB” (spatial, channel, batch)
|
"SSCB" (空间,空间,频道,批次)
|
“ SSSCB” (空间,空间,频道,批次)
|
“ CBT” (channel, batch, time)
|
“ CBT” (channel, batch, time)
|
"SCBT" (空间,频道,批次,时间)
|
"SSCBT" (空间,空间,频道,批处理,时间)
|
"SSSCBT" (spatial, spatial, spatial, channel, batch, time)
|