public final class VGG
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VGG.Builder
The Builder to construct a
VGG object. |
| Modifier and Type | Method and Description |
|---|---|
static VGG.Builder |
builder()
Creates a builder to build a
VGG. |
static ai.djl.nn.Block |
vgg(VGG.Builder builder)
Creates a VGG block with the help of the VGG Builder.
|
ai.djl.nn.SequentialBlock |
vggBlock(int numConvs,
int numChannels)
Creates a constituent VGG block that becomes a part of the whole VGG model.
|
public static ai.djl.nn.Block vgg(VGG.Builder builder)
builder - the VGG.Builder with the necessary argumentspublic ai.djl.nn.SequentialBlock vggBlock(int numConvs,
int numChannels)
numConvs - Numbers of layers in each feature block.numChannels - Numbers of filters in each feature block. List length should match the
layers.public static VGG.Builder builder()
VGG.