Package me.damoebe.architectures
Class Network
java.lang.Object
me.damoebe.architectures.Network
- Direct Known Subclasses:
DecoderTransformer,FFNetwork,S2STransformer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidinsertInput(List<Double> input) static FFNetworkloadNetworkFromJson(String path, Class targetClass) Loads a FFNetwork from a JSON filebooleanloadToJsonFile(File file) Loads the FFNetwork Object to a json fileabstract voidabstract void
-
Constructor Details
-
Network
public Network()
-
-
Method Details
-
train
-
getOutput
-
insertInput
-
updateAllActivations
public abstract void updateAllActivations() -
loadNetworkFromJson
Loads a FFNetwork from a JSON file- Parameters:
path- The path to the json filetargetClass- The subclass that is used to construct the object- Returns:
- A FFNetwork subclass Object
- Throws:
Exception- If the file is not compatible with the target class
-
loadToJsonFile
-