This repository has been archived by the owner. It is now read-only.

ComputationGraphSpace: add overload for preprocessors #109

Closed
AlexDBlack opened this Issue Oct 24, 2017 · 1 comment

Comments

Projects
None yet
1 participant
@AlexDBlack
Copy link
Member

AlexDBlack commented Oct 24, 2017

Compare:

public Builder addLayer(String layerName, LayerSpace<? extends Layer> layerSpace, String... layerInputs) {
layerList.add(new LayerConf(layerSpace, layerName, layerInputs, new FixedValue<>(1), false));
return this;
}
public Builder addVertex(String vertexName, GraphVertex vertex, String... vertexInputs) {
vertexList.add(new VertexConf(vertex, vertexName, vertexInputs));
return this;
}

vs

https://github.com/deeplearning4j/deeplearning4j/blob/cc5ea0dddd5ed61af26cee1ec56d144d1b70b450/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/conf/ComputationGraphConfiguration.java#L664-L665

@AlexDBlack

This comment has been minimized.

Copy link
Member

AlexDBlack commented Nov 29, 2017

@AlexDBlack AlexDBlack closed this Nov 29, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.