Class FashionMnist.Builder

    • Field Summary

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

        dataBatchifier, device, labelBatchifier, limit, pipeline, prefetchNumber, sampler, targetPipeline
    • Method Detail

      • optManager

        public FashionMnist.Builder optManager​(ai.djl.ndarray.NDManager manager)
        Sets the optional manager for the dataset (default follows engine default).
        Parameters:
        manager - the manager
        Returns:
        this builder
      • optRepository

        public FashionMnist.Builder optRepository​(ai.djl.repository.Repository repository)
        Sets the optional repository.
        Parameters:
        repository - the repository
        Returns:
        this builder
      • optGroupId

        public FashionMnist.Builder optGroupId​(java.lang.String groupId)
        Sets optional groupId.
        Parameters:
        groupId - the groupId}
        Returns:
        this builder
      • optArtifactId

        public FashionMnist.Builder optArtifactId​(java.lang.String artifactId)
        Sets the optional artifactId.
        Parameters:
        artifactId - the artifactId
        Returns:
        this builder
      • optUsage

        public FashionMnist.Builder optUsage​(ai.djl.training.dataset.Dataset.Usage usage)
        Sets the optional usage.
        Parameters:
        usage - the usage
        Returns:
        this builder