megengine.utils.network.NodeFilter.not_type

NodeFilter.not_type(node_type)[源代码]

移除过滤器中所有指定类型的计算节点。

参数。

node_type – 类型

返回

返回一个新的 NodeFilter 对象。