Class Layer
Namespace: Barracuda
Syntax
public class Layer
Constructors
Layer(String, Layer.Activation)
Declaration
public Layer(string layerName, Layer.Activation activationType)
Parameters
Type | Name | Description |
---|---|---|
String | layerName | |
Layer.Activation | activationType |
Layer(String, Layer.Type, Layer.Activation)
Declaration
public Layer(string layerName, Layer.Type layerType, Layer.Activation activationType = Layer.Activation.None)
Parameters
Type | Name | Description |
---|---|---|
String | layerName | |
Layer.Type | layerType | |
Layer.Activation | activationType |
Fields
activation
Declaration
public Layer.Activation activation
Field Value
Type | Description |
---|---|
Layer.Activation |
alpha
Declaration
public float alpha
Field Value
Type | Description |
---|---|
Single |
axis
Declaration
public int axis
Field Value
Type | Description |
---|---|
Int32 |
beta
Declaration
public float beta
Field Value
Type | Description |
---|---|
Single |
datasets
Declaration
public Layer.DataSet[] datasets
Field Value
Type | Description |
---|---|
Layer.DataSet[] |
inputs
Declaration
public string[] inputs
Field Value
Type | Description |
---|---|
String[] |
name
Declaration
public string name
Field Value
Type | Description |
---|---|
String |
pad
Declaration
public int[] pad
Field Value
Type | Description |
---|---|
Int32[] |
pool
Declaration
public int[] pool
Field Value
Type | Description |
---|---|
Int32[] |
stride
Declaration
public int[] stride
Field Value
Type | Description |
---|---|
Int32[] |
type
Declaration
public Layer.Type type
Field Value
Type | Description |
---|---|
Layer.Type |
weights
Declaration
public float[] weights
Field Value
Type | Description |
---|---|
Single[] |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |