Package | Description |
---|---|
org.nd4j.autodiff.samediff.transform |
Modifier and Type | Method and Description |
---|---|
static SameDiff |
GraphTransformUtil.replaceSubgraphsMatching(SameDiff sd,
SubGraphPredicate p,
SubGraphProcessor processor)
Find all of the subgraphs that match the specified SubGraphPredicate and then replace them with a different subgraph.
Note that the original SameDiff instance is not modified; a copy is made, which is then modified and returned. |
Copyright © 2019. All rights reserved.