Commit graph

11997 commits

Author SHA1 Message Date
Du Li
7641ee9a2b suppress a warning. 2019-01-10 19:28:18 -08:00
Bowen Bao
d22429c5b2 Update compare_mlvalue for tests (#290)
* values should be considered matched if both of them are inf, or both
of them are nan.
2019-01-10 18:13:46 -08:00
Changming Sun
02962ce9d8
Update ABI.md (#299)
* Update ABI.md
2019-01-10 16:34:42 -08:00
Yufeng Li
02852a0881
Remove OperatorParser tool (#279) 2019-01-10 16:14:37 -08:00
Pranav Sharma
223773d278
Implement ROI Align for object detection. (#308)
* Implement ROI Align for object detection.

* Fix Mac build

* Fix Mac build
2019-01-10 11:34:55 -08:00
Changming Sun
6b3044ddd3 Update AddingExecutionProvider.md 2019-01-10 11:11:54 -08:00
Randy
fa0ea9a273
implement dynamic slice cuda (#286)
* implement dynamic slice cuda

* add template parameter

* add delaration

* init base class

* exclude case from cuda

* use cuda mapped type

* separate function implementation

* add cpy logic

* refactor

* add type check

* use InputMemoryType

* merge functions
2019-01-10 09:42:18 -08:00
Ryan Hill
98a92547bf
Ryanunderhill/c api 8 (#297)
* Make OrtAllocator not be reference counted

* Make the allocator interface more type safe

* Fix build break

* Build break fix

* Build break fix

* Mistake in previous build fix.

* Fix review comments + build break

* Missed the export symbols

* C specific error, need 'struct' keyword in one case.

* Function calling OrtReleaseObject instead of OrtReleaseEnv
2019-01-10 02:06:29 -08:00
Changming Sun
751eb60819 Fix a build issue in onnxruntime_unittests.cmake (#307) 2019-01-09 22:53:53 -08:00
KeDengMS
d342147255
Add test for truncated sequence inference (#99)
* Add test for truncated sequence inference with scan model

* Address CR

* Update to Scan opset 9
2019-01-09 22:33:35 -08:00
edgchen1
34bcc92554 Added test data URL and checksum arguments to build.py. (#302)
* Added test data arguments to build.py, modified win-ci-pipeline build.

* Updated CI builds to use template tasks, added test data args, removed AZURE_BLOB_KEY uses.

* Fixed up set test data step template.
2019-01-09 22:33:14 -08:00
Yufeng Li
55433abecb Enable build_shared_lib if build_csharp 2019-01-09 22:32:17 -08:00
Changming Sun
84be07114b Disable nsync test 2019-01-09 18:56:12 -08:00
Yulong Wang
22b5bfdf35 update label for build badges (#301) 2019-01-09 16:54:41 -08:00
Changming Sun
e318c7317b update 2019-01-09 15:49:27 -08:00
Changming Sun
8cfe8d33a3 Add nsync (#292)
* Add nsync

* nsync2

* nsync3

* fix build

* update comments

* fix build option
2019-01-09 10:40:55 -08:00
Hector Li
57421504b1
Add tensorflow license (#296) 2019-01-08 12:43:27 -08:00
Pranav Sharma
31bbb4598e
Enable tvm in CI builds. (#285)
* Enable tvm in CI builds

* Fix tvm dll path issue
2019-01-07 19:37:06 -08:00
Ke Zhang
386b60e35a
update gemmlowp which carries a windows build break fix. (#291) 2019-01-07 18:24:46 -08:00
Yang Chen
4929ddde43 update tvm submodule (#287) 2019-01-07 14:32:58 -08:00
Scott McKay
059cfdc13a
Opset 9 Scan implementation (#274)
* Templatize Scan as step 1

* Pre-thunderstorm save

* Initial v8 and v9 implementations.
Need to add transpose to v9 and unit tests.

* Make Transpose operator implementation re-usable by Scan.
Add transpose logic to Scan.

* Rework a bunch of things. First Scan 9 unit test passes

* Add more tests.

Need to add axis validation and handling of negative values.

* Convert remaining Scan 8 tests to also work for Scan 9 if applicable.
Add invalid input tests for new Scan 9 attributes.

* Add transpose unit test.
Some cleanups.

* Cleanups

* Check number of direction entries for outputs at kernel instantiation.
2019-01-08 08:11:46 +10:00
Changming Sun
5e113661a9 Build system upgrades (#281)
* update

* runas normal user
2019-01-07 13:15:24 -08:00
Tang, Cheng
85ec13f58d
fix tvm break (#282) 2019-01-07 10:55:24 -08:00
Raymond Yang
ec2cf59baa
Enable building python37 packages (#283) 2019-01-05 18:41:40 -08:00
Pranav Sharma
de383d93be
Fix inconsistency in enum names in the C API (#277)
* Fix inconsistency in enum names in the C API

* fix build
2019-01-04 16:41:15 -08:00
Ke Zhang
251d4bbb23
adjust the quantization ops' definitions (#278) 2019-01-04 16:05:29 -08:00
shahasad
8a7b6761de
changed nativeLib name from onnxruntime.dll to onnxruntime, for cross platform (#275) 2019-01-03 19:52:21 -08:00
Ke Zhang
75934af896
have Im2ColNd support all types and allow customized padding value. (#273)
* have Im2ColNd support all types and allow customized padding value.

* only specialize the template in order NCHW.

* fix build break.

* fix build break
2019-01-03 19:24:06 -08:00
Dmitri Smirnov
058803086d
Implement N-gram (#180)
* Implement N-gram
  Do not load unnecessary pool n-grams. Add String typed tests.
  Set output size to the mav ngram_index value plus 1.

* Address security warnings and some review comments.

* Fix build issues, rework sampling to try all n-gram sizes at a given offset.

* Rework the loop so all n should be tried at a given offset
  and we do not add the same items all over again such as
  b,c and next we try b,c,d but we no longer add b,c again.

* Compute hash incrementally so we do not re-hash elements that were
  already there when we add more elements to n-gram.

* Address review comments.
  TODO: Remove all attribute.

* Remove all attribute, adjust tests. Correct docs.

* Address more review comments.

* Create Type And Shape inference function.

* Address review comments. Implement batch mode per new spec.

* Correct switch bracing in OutputResult and re-test.

* Fix shape error message within TypeAndShapeInferenceFunction.
2019-01-03 16:21:03 -08:00
ashku-ms
8fba324678
Hyperbolic inv ops (#272)
Implement Inverse for hyberbolic ops

Eigen will add support for asinh, acosh and atanh in the upcoming release. But until then for completeness of opset9 we have std based implementation.
2019-01-03 15:04:55 -08:00
Tang, Cheng
d0fa974976
interface change to code-generated kernels (#192)
* merge function compile interface

* fix build error

* fix linux build break

* fix static cast issue; fix clang style

* fix argument change

* use alignment allocation;fix comments in pr

* fix linux break

* apply clang format

* rename according to comments in pr

* rename according to pr comments;remove useless file

* remove the need_compile flag

* avoid passing whole session state
2019-01-02 17:18:08 -08:00
xkszltl
5b6f1823af Use CUDA libraries found by CMake. (#190)
* Link cudart and use CMake predefined variables for cublas.

* Patch for old cmake.

* Remove static cudnn.
Fix file name for cuBLAS DLL delay loading.
2019-01-02 16:51:42 -08:00
Randy
fc76076e29
Rashuai/dynamic slice refactored (#264)
* define dynamic slice

* remove obsolete

* add test cases

* remove disabled cases

* rename test cases

* fix comments

* format code

* fix comments

* fix compile err

* fix typo

* removed duplicated delaration

* add enforced checks

* add enforced checks

* add extra processing on negative axis

* fix typo
2019-01-02 16:39:41 -08:00
Yuan Yu
bd2ace7619 Tweak linker flags to minimize the binary size. (#270) 2019-01-02 14:50:34 -08:00
Pranav Sharma
e7e90c0322
Implement OneHot op. (#213)
* Implementation of OneHot op

* Implementation of OneHot op

* Implementation of OneHot op.

* one hot op

* onehot

* OneHot op.

* Disable some Eigen related warnings

* fix build

* Add comment for potential optimization opportunity using Eigen threads

* Remove this op from the broken tests
2019-01-02 14:49:56 -08:00
xkszltl
bddeb3d001 Fix "invalid escape" issue when eigen_SOURCE_PATH contains "\". (#258) 2019-01-02 14:00:21 -08:00
Ke Zhang
eb67eadbc6
add initializer for sub-graph. (#269) 2019-01-02 13:10:33 -08:00
Raymond Yang
8f3a492682 Remove static linked cuda libs (#239) 2019-01-02 10:39:37 -08:00
Yufeng Li
e2746513ab
Avoid to run profiling code completely if there is no need (#245)
* add option to build essentials feature for optimization

* Check if profiler enabled before calling it

* Refine the profiler
2019-01-01 09:34:24 -08:00
Du Li
1e9be01a49
Fix a bug in Conv+Activation fusion (#236)
* fix a bug

* fix a bug

* remove node in reverse topologic order.

* replace vector with deque

* fix bugs in conv+activation fusion

* Integrating PR comments.
2018-12-31 16:56:11 -08:00
Du Li
4f49a4ab1b
Maxpool_With_Mask (#267)
* Adding Op ConvMaxpool

* Adding MaxpoolWithMask Op.

* Skip length check for the first element

* Fix build errors.

* Fix build errors.
2018-12-29 20:15:02 -08:00
KeDengMS
b508835e7a
Update CUDA Gemm to opset 9 (#266) 2018-12-29 19:57:45 -08:00
Tang, Cheng
126c1fd3df do replacement based on node arg usage, instead of provider type (#263) 2018-12-29 12:10:08 -08:00
Ryan Hill
6a090985fb More C API changes (#259)
* More API changes, remove 'Inference' from function names. Remove enum values. Make Status match other types.

* Switch to bool instead of int, and remove stdbool
2018-12-28 14:53:19 -08:00
shahasad
29d03ffb08
Add end-to-end test to run on the nuget package (#252)
* added end-to-end nuget package test

* reset the changes in OnnxRuntime.CSharp.proj

* revert the testdata directory path

* revert inference tests proj file

* added script for running end-to-end tests

* fix in the runtest.bat

* added error checking in runtest

* fixed paths in the test project

* added runtest.sh

* fix protoc path

* updated executable attributes for the runtest scripts

* added some log to debug protoc failures

* removed the protoc and duplicate test code, reuse unit-test code for end-to-end test

* copy always

* fix working dir paths in runtest.sh

* added a build.py flag to download test data without running the c++ tests

* added a script for running the test under docker

* added script for docker run of the test
2018-12-27 15:22:46 -08:00
Du Li
8380e56409
Optimizing Gather op. (#262) 2018-12-27 11:31:43 -08:00
Darío Hereñú
928acc32f1 Minor formatting proposals 2018-12-26 13:46:32 -08:00
Changming Sun
698ebf13a1
Add a missing header (#243) 2018-12-21 19:06:09 -08:00
Changming Sun
79c623bece Add more test models 2018-12-21 19:03:43 -08:00
Changming Sun
f3df7e5d32 nullptr 2018-12-21 18:31:22 -08:00