Class GoogLeNet.Builder

java.lang.Object
ai.djl.basicmodelzoo.cv.classification.GoogLeNet.Builder
Enclosing class:
GoogLeNet

public static final class GoogLeNet.Builder extends Object
The Builder to construct a GoogLeNet object.
  • Method Details

    • setOutSize

      public GoogLeNet.Builder setOutSize(long outSize)
      Sets the size of the output.
      Parameters:
      outSize - the output size
      Returns:
      this Builder
    • build

      public ai.djl.nn.Block build()
      Builds a GoogLeNet block.
      Returns:
      the GoogLeNet block