8eb598abd0e77333688e97f7ed89b0dd60d144fa |
|
29-Sep-2017 |
Miao Wang <miaowang@google.com> |
Allow Conv2D and FullyConnected use multiple thread. Bug: 63905942 Test: mm Test: NeuralNetworksTest pass Change-Id: Iff6f248df4f33c296bb42cba1b68296ca301bf34
/frameworks/ml/nn/common/operations/FullyConnected.cpp
|
be2b22578baf949d7be42ba002cee94304daf53c |
|
22-Sep-2017 |
Miao Wang <miaowang@google.com> |
Use softer error reporting instead of CHECK* - CHECK(x) checks whether condition x holds and LOG(FATAL) if not, which will result in calling abort(). - This change uses nnOpsCheck which would log the failing condition and return false to the runtime, allowing graceful failures. Bug: 63905942 Test: NeuralNetworkTests pass Change-Id: I8b1217f777638f974c91fa429449e39d37218af6
/frameworks/ml/nn/common/operations/FullyConnected.cpp
|
1b69ceeb5920503f18b6c6c1233b1fa481b6e634 |
|
11-Sep-2017 |
Miao Wang <miaowang@google.com> |
Move all op preparation functions to OperationsUtils. - All op operations are moved to OperationUtils. - Add a helper function to derive implict padding scheme from explicit paddings. - Make all prepare function return false when seeing error. Bug: 63905942 Test: NeuralNetworkTests Change-Id: I16538dbd731a5ca1e6de5e0d0b269e9f386f4d29
/frameworks/ml/nn/common/operations/FullyConnected.cpp
|
55cef2193279a646292fdeb355399627dd8990c8 |
|
09-Sep-2017 |
Miao Wang <miaowang@google.com> |
Explicitly add "_2D" to applicable ops, and add fused activation function enum. - Add the fused activation enum to explicitly set the expectation that only the included ones are supported for fused ops. - Add "_2D" to CONV, DEPTHWISE_CONV, AVG_POOL, MAX_POOL, and L2_POOL, since they are only supposed to do 2D computation. - Updated the tests and the stack to plumbing the changes through. Bug: 63905942 Test: mm Test: NeuralNetworksTests pass for both CPU path and sample hidl driver. Change-Id: I60aeabab1d193d26d938c0d1d3ffdd519740d222
/frameworks/ml/nn/common/operations/FullyConnected.cpp
|
bbfd239e43526ff969699d3fc6110395edd2108b |
|
26-Jul-2017 |
Miao Wang <miaowang@google.com> |
Implement Softmax, FullyConnected, and Concatenation. - FLOAT32 and QUANT8 versions of FullyConnected and Concatenation are covered. - This change only covers FLOAT32 version of Softmax Bug: 63905942 Test: mm Test: end-to-end test with Inception V3 pass. Test: end-to-end test with StripOCR quantized pass. Change-Id: I9e001265cc31df406fdb3d685d10a1c61216c700
/frameworks/ml/nn/common/operations/FullyConnected.cpp
|