public final class Components extends Object
| Constructor and Description |
|---|
Components() |
| Modifier and Type | Method and Description |
|---|---|
static ALayerStack |
asLayerStack(IComponent comp) |
static LossFunction |
defaultLossFunction(mikera.vectorz.Op op)
Returns a default loss function for a specific operator
|
static Dropout |
dropout(int length) |
static Dropout |
dropout(int length,
double dropoutRate) |
static Identity |
identity(int length) |
static Join |
join(IComponent... components) |
static Join |
join(List<? extends IComponent> components) |
static NeuralNet |
neuralLayer(int inputLength,
int outputLength,
mikera.vectorz.Op op) |
static NeuralNet |
neuralLayer(int inputLength,
int outputLength,
mikera.vectorz.Op op,
boolean fullyConnected) |
static NeuralNet |
neuralLayer(int inputLength,
int outputLength,
mikera.vectorz.Op op,
int maxLinks) |
static Operator |
offset(int length,
double offset) |
static Operator |
operator(mikera.vectorz.Op op,
int length) |
static Stack |
stack(IComponent... components) |
static Stack |
stack(List<? extends IComponent> components) |
static AWeightLayer |
weightLayer(int inputLength,
int outputLength,
int maxLinks) |
public static Stack stack(List<? extends IComponent> components)
public static Stack stack(IComponent... components)
public static Join join(List<? extends IComponent> components)
public static Join join(IComponent... components)
public static Operator operator(mikera.vectorz.Op op, int length)
public static NeuralNet neuralLayer(int inputLength, int outputLength, mikera.vectorz.Op op)
public static NeuralNet neuralLayer(int inputLength, int outputLength, mikera.vectorz.Op op, int maxLinks)
public static Dropout dropout(int length)
public static Dropout dropout(int length, double dropoutRate)
public static AWeightLayer weightLayer(int inputLength, int outputLength, int maxLinks)
public static NeuralNet neuralLayer(int inputLength, int outputLength, mikera.vectorz.Op op, boolean fullyConnected)
public static ALayerStack asLayerStack(IComponent comp)
public static LossFunction defaultLossFunction(mikera.vectorz.Op op)
topOp - public static Identity identity(int length)
public static Operator offset(int length, double offset)
Copyright © 2013. All Rights Reserved.