Java Code Examples for org.deeplearning4j.nn.params.DefaultParamInitializer#getInstance()

The following examples show how to use org.deeplearning4j.nn.params.DefaultParamInitializer#getInstance() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CustomLayer.java    From deeplearning4j with Apache License 2.0 5 votes vote down vote up
@Override
public ParamInitializer initializer() {
    //This method returns the parameter initializer for this type of layer
    //In this case, we can use the DefaultParamInitializer, which is the same one used for DenseLayer
    //For more complex layers, you may need to implement a custom parameter initializer
    //See the various parameter initializers here:
    //https://github.com/deeplearning4j/deeplearning4j/tree/master/deeplearning4j-core/src/main/java/org/deeplearning4j/nn/params

    return DefaultParamInitializer.getInstance();
}
 
Example 2
Source File: DeepFMOutputConfiguration.java    From jstarcraft-rns with Apache License 2.0 4 votes vote down vote up
@Override
public ParamInitializer initializer() {
    return DefaultParamInitializer.getInstance();
}
 
Example 3
Source File: OutputLayer.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Override
public ParamInitializer initializer() {
    return DefaultParamInitializer.getInstance();
}
 
Example 4
Source File: RnnOutputLayer.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Override
public ParamInitializer initializer() {
    return DefaultParamInitializer.getInstance();
}
 
Example 5
Source File: DenseLayer.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Override
public ParamInitializer initializer() {
    return DefaultParamInitializer.getInstance();
}
 
Example 6
Source File: CustomLayer.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Override
public ParamInitializer initializer() {
    return DefaultParamInitializer.getInstance();
}
 
Example 7
Source File: CustomOutputLayer.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Override
public ParamInitializer initializer() {
    return DefaultParamInitializer.getInstance();
}
 
Example 8
Source File: CustomLayer.java    From deeplearning4j with Apache License 2.0 4 votes vote down vote up
@Override
public ParamInitializer initializer() {
    return DefaultParamInitializer.getInstance();
}