Task: Question Answering
Input (English): a) Parallel Scan Inference b) Vectorized Parsing c) Semiring Matrix Operations Torch-Struct aims for computational and memory efficiency. Implemented naively, dynamic programming algorithms in Python are prohibitively slow. As such Torch-Struct provides key primitives to help batch and vectorize these algorithms to take advantage of GPU computation and to minimize the overhead of backpropagating through chart-based dynamic programmming. 
 Question: What general-purpose optimizations are included?
Output (English): Parallel Scan Inference Vectorized Parsing Semiring Matrix Operations