megengine.utils.network.NodeFilter.type

NodeFilter.type(node_type)[源代码]

通过类型过滤。

参数

node_type – 类型

返回

返回一个新的 NodeFilter 对象。