Loading tutorials
(8, 3, 224, 224). No GPU is needed for this chapter. The later GPU chapters require an NVIDIA GPU with C6 min readresnet50.onnx as shown in the previous chapter, with an input named input, an output named logits, and a dynamic batch axis. You should be comfortable with NumPy arrays and dtypes. The GPU parts need an NVIDIA GPU, but everything here also runs on the CPU4 min readInferenceSession. It also assumes you know NumPy array shapes and the basic idea of an image classifier. The model graph is only one part of a vision pipeline. Code before and after it often decides whether t5 min readresnet50.onnx, you can create an InferenceSession, and you know the preprocessing the 4 min readresnet50.onnx with a dynamic batch axis and a working InferenceSession. You should also know the difference between latency and throughput, and be comfortable with NumPy. The GPU examples need an NVIDIA GPU with CUDA drivers. Every later chapter in this 4 min readInferenceSession, as covered in the earlier chapters. You should also know what a node and an operator are in a computation graph. By the end you will be able to choose an optimization level, see what ONNX Runtime changed in your4 min readresnet50.onnx with a dynamic batch axis and can create an InferenceSession on the CPU. It also assumes basic NumPy, and an NVIDIA GPU with a working driver for the hands-on parts. By the end you will be able to select the CUDA execution provider, confirm th4 min readInferenceSession, and select the CUDA execution provider. It also assumes you know that a GPU has its own memory, separate from host (CPU) memory. If you do not, review the earlier chapters on sessions and execution providers first.6 min readInferenceSession. It also assumes you know what an execution provider is and that you have 5 min readInferenceSession, and choose execution providers. It also assumes you have read the previous chapter on enabling the TensorRT execution provider. The GPU examples need an NVIDIA GPU, CUDA drivers, and an ONNX Runtime build6 min readInferenceSession, and enable the TensorRT execution provider. You should also know what an engine cache is. It covers how a dynamic batch dimension works in TensorRT, how optimization profiles define the allowed sh6 min readInferenceSession, and enable the TensorRT execution provider. It also assumes you have a parity check and a benchmark function like the ones from earlier chapters. Here you will learn what reduced precision changes, how7 min readtrtexec ships with the TensorRT6 min readInferenceSession, and enable the TensorRT execution provider with an engine cache, as covered in earlier chapters. It covers what can go wrong when the same service moves from your workstation to production machines.5 min read