Class ResnetBlockFactory

java.lang.Object
ai.djl.basicmodelzoo.cv.classification.ResnetBlockFactory
All Implemented Interfaces:
ai.djl.nn.BlockFactory, Serializable

public class ResnetBlockFactory extends Object implements ai.djl.nn.BlockFactory
A BlockFactory class that creates ResNetV1 block.
See Also:
  • Constructor Details

    • ResnetBlockFactory

      public ResnetBlockFactory()
  • Method Details

    • newBlock

      public ai.djl.nn.Block newBlock(ai.djl.Model model, Path modelPath, Map<String,?> arguments)
      Specified by:
      newBlock in interface ai.djl.nn.BlockFactory