public static class SpaceToDepthLayer.Builder<T extends SpaceToDepthLayer.Builder<T>> extends Layer.Builder<T>
| Modifier and Type | Field and Description |
|---|---|
protected int |
blockSize |
protected SpaceToDepthLayer.DataFormat |
dataFormat |
allParamConstraints, biasConstraints, iDropout, layerName, weightConstraints| Constructor and Description |
|---|
Builder(int blockSize) |
Builder(int blockSize,
SpaceToDepthLayer.DataFormat dataFormat) |
| Modifier and Type | Method and Description |
|---|---|
T |
blocks(int blockSize) |
SpaceToDepthLayer |
build() |
T |
dataFormat(SpaceToDepthLayer.DataFormat dataFormat) |
T |
name(String layerName)
Layer name assigns layer string name.
|
constrainAllParameters, constrainBias, constrainWeights, dropOut, dropOutprotected int blockSize
protected SpaceToDepthLayer.DataFormat dataFormat
public Builder(int blockSize)
public Builder(int blockSize,
SpaceToDepthLayer.DataFormat dataFormat)
public T blocks(int blockSize)
public T dataFormat(SpaceToDepthLayer.DataFormat dataFormat)
public T name(String layerName)
Layer.Buildername in class Layer.Builder<T extends SpaceToDepthLayer.Builder<T>>public SpaceToDepthLayer build()
build in class Layer.Builder<T extends SpaceToDepthLayer.Builder<T>>Copyright © 2018. All rights reserved.