• Jesse Gross's avatar
    ml: Allow models to constrain inputs to a single batch · 9679f401
    Jesse Gross authored
    Models may require that a set of inputs all be processed as part
    of the same batch. For example, if an image has multiple patches
    with fully connected attention between them, we should not split
    the batch in the middle of an image.
    
    Fixes #9697
    9679f401
input.go 1.22 KB