Class ImageDataset.BaseBuilder<T extends ImageDataset.BaseBuilder<T>>

    • Field Summary

      • Fields inherited from class ai.djl.training.dataset.RandomAccessDataset.BaseBuilder

        dataBatchifier, device, labelBatchifier, limit, pipeline, prefetchNumber, sampler, targetPipeline
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BaseBuilder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T optFlag​(ai.djl.modality.cv.Image.Flag flag)
      Sets the optional color mode flag.
      • Methods inherited from class ai.djl.training.dataset.RandomAccessDataset.BaseBuilder

        addTargetTransform, addTransform, getSampler, optDataBatchifier, optDevice, optLabelBatchifier, optLimit, optPipeline, optPrefetchNumber, optTargetPipeline, self, setSampling, setSampling, setSampling
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BaseBuilder

        protected BaseBuilder()
    • Method Detail

      • optFlag

        public T optFlag​(ai.djl.modality.cv.Image.Flag flag)
        Sets the optional color mode flag.
        Parameters:
        flag - the color mode flag
        Returns:
        this builder