Figure 10
Listing 1. TORO follows the general implementation and serialization in PyTorch. The torch.jit.script translates the model to TorchScript, allowing it to run without Python. The serialized model is saved to disk for later use without the original Python code. Indexer specifics, as detailed in the main text, are omitted, but this PyTorch interface can be used for any indexer algorithm, allowing it to be integrated into CrystFEL without recompiling the application. |