pan>.<span title="torch.utils.data.Dataset">Dataset</span></code></p>

  
      <p>A dataset that returns a tuple of <code>(X, y)</code> where <code>X</code> and <code>y</code> are both
torch tensors. <code>X</code> is a sequence of integers representing the SMILES
tokens, and <code>y</code> is the same sequence shifted by one position to the
right.</p>
<p>The outputs are padded to the same length and label encoded.</p>


        <details class="quote">
          <summary>Source code in <code>s4dd/dataloade