megengine.utils.network.NodeFilterHasInput.type

NodeFilterHasInput.type(node_type)

通过节点类型过滤。

参数

node_type – 类型

返回

返回一个新的 NodeFilter 对象。