NeuronPerf Framework Notes — AWS Neuron Documentation (original) (raw)

This document is relevant for: Inf1, Inf2, Trn1, Trn2

NeuronPerf Framework Notes#

PyTorch#

TensorFlow 1.x#

Note

Although TensorFlow tensors must be ndarray, this doesn’t stop you from wrapping them inside of data structures that traverse process boundaries safely. For example, you can still pass an input dict like {'input_0': np.zeros((2, 1))}.

TensorFlow 2.x#

Note

Although TensorFlow tensors must be ndarray, this doesn’t stop you from wrapping them inside of data structures that traverse process boundaries safely. For example, you can still pass an input dict like {'input_0': np.zeros((2, 1))}.

Apache MXNet#

This document is relevant for: Inf1, Inf2, Trn1, Trn2