get_dl_model_layer_activationsT_get_dl_model_layer_activationsGetDlModelLayerActivationsGetDlModelLayerActivationsget_dl_model_layer_activations (算子)
名称
get_dl_model_layer_activationsT_get_dl_model_layer_activationsGetDlModelLayerActivationsGetDlModelLayerActivationsget_dl_model_layer_activations — 获取深度学习模型层的激活。
签名
描述
算子 get_dl_model_layer_activationsget_dl_model_layer_activationsGetDlModelLayerActivationsGetDlModelLayerActivationsGetDlModelLayerActivationsget_dl_model_layer_activations returns in ActivationsActivationsActivationsActivationsactivationsactivations
the activations of the specified LayerNameLayerNameLayerNameLayerNamelayerNamelayer_name of the model
DLModelHandleDLModelHandleDLModelHandleDLModelHandleDLModelHandledlmodel_handle。
ActivationsActivationsActivationsActivationsactivationsactivations is a tuple of batch_size many objects,
where every object is an image having the size
(width, height, depth) of the given LayerNameLayerNameLayerNameLayerNamelayerNamelayer_name。
执行信息
- 多线程类型:可重入(与非独占算子并行运行)。
- 多线程作用域:全局(可从任何线程调用)。
- 未采用并行化处理。
参数
ActivationsActivationsActivationsActivationsactivationsactivations (输出对象) image(-array) → objectHImageHObjectHImageHobject * (real)
Output activations.
DLModelHandleDLModelHandleDLModelHandleDLModelHandleDLModelHandledlmodel_handle (输入控制) dl_model → HDlModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
深度学习模型的句柄。
LayerNameLayerNameLayerNameLayerNamelayerNamelayer_name (输入控制) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name of the layer to be queried.
模块
深度学习训练