public interface OpImportFilter<GRAPH_TYPE,NODE_TYPE,ATTR_TYPE>
| Modifier and Type | Method and Description |
|---|---|
boolean |
skipOp(NODE_TYPE nodeDef,
SameDiff initWith,
Map<String,ATTR_TYPE> attributesForNode,
GRAPH_TYPE graph)
If true: the op should be skipped for import, and its output variables should not be created.
|
boolean skipOp(NODE_TYPE nodeDef, SameDiff initWith, Map<String,ATTR_TYPE> attributesForNode, GRAPH_TYPE graph)
nodeDef - NodeinitWith - SameDiff instanceattributesForNode - Attributes for the nodegraph - Graph to import fromCopyright © 2021. All rights reserved.