onnx_diagnostic.reference.ort_evaluator¶ class onnx_diagnostic.reference.ort_evaluator.OnnxList(itype: list | int)[source][source]¶ Defines a list for the runtime. clone() → OnnxList[source][source]¶ Clone (torch). get_device()[source][source]¶ Returns the device of the first tensor. numpy()[source][source]¶ Creates a new list with all tensors on numpy or self it is already the case. to(tensor_like) → OnnxList[source][source]¶ Creates a new list with all tensors on numpy or pytorch depending on tensor_like.