X is numpy array on cpu X_ortvalue = onnxruntime.OrtValue.ortvalue_from_numpy(X, 'cuda', ... The package is compiled for a specific device, GPU or CPU.
確定! 回上一頁