deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/conf/NeuralNetConfiguration.java
/**
     * Create a neural net configuration from json
     * @param json the neural net configuration from json
     * @return
     */
Create a neural net configuration from json
@param json the neural net configuration from json
@return
Create a neural net configuration from json @param json the neural net configuration from json @return
public static NeuralNetConfiguration fromJson(String json) {
        ObjectMapper mapper = mapper();
        try {
            NeuralNetConfiguration ret =  mapper.readValue(json, NeuralNetConfiguration.class);
            return ret;
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
public static NeuralNetConfiguration fromJson ( String json ) { ObjectMapper mapper = mapper ( ) ; try { NeuralNetConfiguration ret = mapper . readValue ( json , NeuralNetConfiguration . class ) ; return ret ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } }
Create a neural net configuration from json
 @param json the neural net configuration from json
 @return
Create a neural net configuration from json @param json the neural net configuration from json @return