快新闻??Facebook????AI?????????????????


??Facebook????AI??????? Open Neural Network Exchange(ONNX?????????)?????????????????????????????????????ONNX??????????????AI???????????????????????????????????????????????Caffe2?PyTorch ?Cognitive Toolkit ????TensorFlow??????????TensorFlow??????????????????????????????

Facebook ???????? Open Neural Network Exchange(ONNX?????????)?????????????????????????????????????ONNX??????????????AI?????????????????????????????????

???Facebook???????????

????????????????????AI???????????????????????????????(features)???????????????????? feature ?????? feature ????????????????????????????????????????????????????????????????????????????

Facebook ???????? ONNX??????????AI???????????????????????????????????Caffe2?PyTorch ?Cognitive Toolkit ??9????? ONNX ?????????????????????????????????????????????????????????ONNX??????????????????????????????????AI????????

ONNX ?Facebook ????

ONNX ? Facebook ???????????????Facebook?AI??(FAIR?AML)??????????AI???????????????????????????????????????????????ONNX???????AI??????????????????????????????

???????????????????????????????????????——??????????????(gradients of gradients)????????ConvNet??????????????????????????????????????PyTorch??????????????????????????????????????????

????????????????????????????????????????????????????????????????????????(hand-tuned code)??????????Caffe2???????????????????????Caffe2??????????????????????????????????????????

?? ONNX???????????????????????PyTorch?????????????????????Caffe2??????????????????????????????????????ONNX???Caffe2?PyTorch????????????????

????

????ONNX????????PyTorch?Caffe2???????????????????Caffe2???????????????????Caffe2?????????????PyTorch?????????????????????????????????????????????????????????????????????????????????????????????

?????????????????

x = y *2

if someComplicatedFunction(): z = x y

else: z = x * y

?????????ONNX??????conditionals??????? someComplicatedFunction()???????????????????????????someComplicatedFunction() ???????????????????PyTorch????????????????????????????????????????????????????????ONNX?????

#someComplicatedFunction() == True

x = y *2z = x y

??????tracer?????????????????PyTorch??????????????????(dynamic flow control)????????????????????ONNX?tracer???????????????????PyTorch?????Caffe2???????????

???ONNX???????????????????

? Facebook ???????????????????? Facebook ? AI ??????????????????????????????

???????????“”???????????????????????????????????????????????????????????????????????????????AI???

??????????????Facebook ????Open Neural Network Exchange (ONNX?????????) ??? ONNX?AI ??????????????????????????CognitiveToolkit?Caffe2?PyTorch????ONNX????Facebook ?????ONNX ??????????????????????

???ONNX ???

Cognitive Toolkit ??????????????????????????????????????????????????????????????????? ONNX??????????

??????

???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????ONNX ???????????????????????

????

?????????????????????????ONNX???????????????????????????????????????ONNX???????????????????????

????

ONNX ??????????????????? operators ????????????????????(??)??????

??????????????????????????????????????????????????operators ????

???

ONNX ???????????????GitHub(https://github.com/onnx/onnx)????????????????????????ONNX ?????????Cognitive Toolkit?????????????Facebook????????????????model zoo?

ONNX ???????????????? AI ?????????????????????????????????????????????????????????????????ONNX??????????????

??????

???????????Caffe2?PyTorch???ONNX????????????????????!?????????????????????????????????????ONNX?PyTorch?Caffe2?????????AI??????????????!

????

ONNX?https://github.com/onnx

Caffe2?https://caffe2.ai/

PyTorch?http://pytorch.org/

Super Resolution Tutorial?http://pytorch.org/tutorials/advanced/super_resolution_with_caffe2.html