Commit graph

2831 commits

Author SHA1 Message Date
dding3
3f216dff01 Merge pull request #4498 from dding3/move_visulazition
Move visulazition from dllib.utils to dllib
2021-08-17 19:29:50 -07:00
dding3
d0cb52f156 Merge branch 'bigdl-2.0' into move_visulazition 2021-08-17 11:37:22 -07:00
dding3
154730119f Merge branch 'bigdl-2.0' into move_visulazition 2021-08-17 11:37:22 -07:00
dding3
7c4de0bc15 Merge branch 'bigdl-2.0' into move_visulazition 2021-08-17 11:37:22 -07:00
Yang Wang
136f0df47b Support pip install in bigdl-nano (#4492)
* enable pip install in nano

* fix ipex

* conda

* rename to bigdl-nano-init
2021-08-17 19:27:49 +08:00
dding3
ca613d322a Merge BigDL python into bigdlpython 2021-08-12 14:00:07 -07:00
dding3
546a66dc99 Merge pull request #4473 from dding3/upstream_bigdl-2.0
migrate bigdl to bigdl 2.0
2021-08-12 09:53:25 -07:00
dding3
afb83e2524 Merge branch 'bigdl-2.0' into upstream_bigdl-2.0 2021-08-12 09:40:57 -07:00
dding3
64d78130d9 root commit 2021-08-12 09:37:38 -07:00
dding3
6c96b583bd root commit 2021-07-30 10:14:20 -07:00
Yang Wang
03e4f06d6f Add NCHW support for resizebilinear (#2205)
* add nchw support for resizebilinear

* fix style

* fixed indent

* test cover more cases

* remove double code and python interface

* add doc
2018-01-22 13:11:17 +08:00
Xin Qiu
0c7f994ba8 fix leakyrelu (#2206) 2018-01-22 09:25:35 +08:00
Yang Wang
2f4a7732fb fix recurrent (#2202) 2018-01-19 15:21:35 +08:00
Xianyan
39ec1ef0e3 Add default zeroGradParameters to AbstractModule (#2177)
* Fix optimizer NaN in SSD

* Add zeroGradient

* Add default zeroGradParameters

* revert
2018-01-16 18:35:34 +08:00
Xu Xiao
15c9662cd5 Module DenseToSparse support backward disable (or not) setting (#2189)
* Module DenseToSparse support backward disable (or not) setting

* change isBackward to propagateBack

* change isBackward to propagateBack
2018-01-16 10:45:13 +08:00
Yuhao Yang
4b40cece51 udpate equal (#2033) 2018-01-15 13:55:12 +08:00
Yang Wang
2ec0cd65aa fix spatialfullconvolution bug (#2175) 2018-01-10 13:33:02 +08:00
Yang Wang
21dad26cbf Wrap layers that requires two ClassTags into TensorModuleWrapper and move to tf package (#2122)
* add TensorModuleToOperation

* fix tests

* address comments

* fix test

* rebase master

* fix style
2018-01-05 15:55:23 +08:00
Yang Wang
66435fb69e Add TransformerCriterion (#2097)
* add TransformerCriterion

* fix style

* fix python tests

* meet review
2018-01-02 13:52:38 +08:00
Yang Wang
417bba4dea fix resize bilinear (#2124)
* fix resize bilinear

* fix style

* fix tests
2017-12-28 17:53:31 +08:00
Yang Wang
f33af50bb9 Refine KLDCriterion (#2113)
* optimize KLDCriterion

* address comments

* fix tests
2017-12-28 15:07:13 +08:00
Jerry Wu
331cc262c9 graph ser to support control node (#2121)
* graph ser to support control node

* add unit test

* refinement

* refinement
2017-12-28 13:51:35 +08:00
Xianyan
9f7d6c0a06 optimize localpredictor for small dataset (#2110)
* optimize localpredictor for small dataset

* Add featurePaddingParam

* Add comments

* refactor LocalPredictor.predict

* add log tmp

* fix ut
2017-12-28 10:08:18 +08:00
Yang Wang
46d64ceec7 Fix KLDCriterion forward (#2078)
* fix KLDCriterion

* add python doc

* add unit tests

* add api doc
2017-12-21 15:30:50 +08:00
Kai Huang
978a117cf1 Map Keras LocallyConnected1D (#2060)
* add locallyconnected1d

* fix style
2017-12-21 11:17:15 +08:00
Guoqiong Song
f64b92766b Locallyconnected1D (#1964)
* add LocallyConnected1D, address review comments,  resolve conflicts, add serializer test
2017-12-18 12:54:21 -08:00
Ian Wong
ec716d6d85 fix null pointer exception in bn when affine is false (#2045)
* fix null pointer exception in bn when affine is false

* meet code review
2017-12-18 14:12:18 +08:00
Yao Zhang
29212b1f3a Add locallyconnected2d layer (#2037)
* finish locallyconnected2d

* add locallyconnected2d

* add serializer test

* fix python test failed

* meet code review

* change spaticalConvolutionSpec

* remove a test
2017-12-18 12:16:35 +08:00
Xin Qiu
921feefcc0 Lookup table for multivalue (#2016)
Layer LookupTableSparse
2017-12-18 09:35:05 +08:00
Yao Zhang
e5a9fb1c52 Add keras SpatialDropout1D, SpatialDropout2D, SpatialDropout3D (#1898)
* add comments

* meet review

* add python code

* add documentation

* add serialzation test
2017-12-15 19:26:09 +08:00
Yao Zhang
9da2247f5a Refine textclassifier with data without headers and refactor to temporal convolution (#1707)
* refine text classifier

* add more comments to TemporalMaxPooling

* update document

* refine textclassification scala code
2017-12-15 17:23:55 +08:00
Yuhao Yang
31d1519bbf Add Cropping2D and Cropping3D (#1992)
* add cropping

* serialization test

* equal and hash

* style fix

* python doc
2017-12-14 23:29:51 -08:00
Jerry Wu
b597017810 Concat check input size check (#2034)
* add dim check

* fix typo

* per review

* per review

* per review
2017-12-15 12:53:17 +08:00
Xin Qiu
e9e6f2e4ff get large model from executor (#2017)
* fix of getModel

* meet code review

* meet code review

* fix ut

* delete copy status
2017-12-15 09:37:50 +08:00
Xianyan
c10ab1564e Add local model predictImage (#2026)
* Add local model predictImage
2017-12-14 17:56:32 +08:00
Ian Wong
41b9cc70b1 Fix 1923: Use static graph execution when there's no control operation in graph container (#2008)
* checkin dynamic graph and static graph

* fix compile error

* refine graph

* meet code review

* fix serialize/load test

* fix failed unit test

* add unit test for dynamic graph

* merge duplicate code in graph

* fix generateback issue

* fix python test

* fix style issue

* meet code review

* use array to cache output instead of hashmap

* meet code review

* fix a confused part mentioned in code review
2017-12-14 14:09:49 +08:00
Xin Qiu
79e95dbf8c add tensorflow operation SegmentSum (#1956) 2017-12-14 11:01:35 +08:00
Yang Wang
5d6dbb4331 Add conv3d related operations (#1915)
* add conv3d

* backpropinput

* fix conv3d

* add backpropinputv2

* add backpropfilter and refactor

* fix style

* address comments

* add serialization tests

* fix tests
2017-12-14 09:46:22 +08:00
Yang Wang
ff346bc2eb Added Dilation2D, Dilation2DBackpropFilter, Dilation2DBackpropInput (#1853)
* add ops

* fix style

* add more docs

* address comments

* fix test

* add serilization tests
2017-12-13 18:55:48 +08:00
Yang Wang
8961d576d1 add more ops (#1847) 2017-12-13 18:01:06 +08:00
Ian Wong
ef12a19dd4 Fix some issues found when save bigdl model to tensorflow format file (#1997)
* fix BN save tf issue when scale and offset is null; fix conv2d save tf issue when bias is null; support save LRN layer to tf format

* fix get padding info not correct when ceilMode=true and pad=0

* support save Scale in tf format

* refind some code

* fix unit test
2017-12-13 17:51:12 +08:00
Xin Qiu
5a39246214 UpSampling1D UpSampling2D (#1928) 2017-12-13 16:13:58 +08:00
Xianyan
46365ab6b3 Add serialize unit test for new add layer (#2021)
* Add serialize unit test for new add layer

* add PriorBox serializer
2017-12-13 10:29:18 +08:00
Xianyan
bc4758b270 Add image frame predict (#1972)
* Add VisionPredictor

* share convolution

* inception example can work

* move predictImage To Predictor
add matToTensor, remove postPorcessor
add python
Add more doc

* meet code review and fix unit test

* fix test

* remove unnecessary ClassTag in ImageFrame
2017-12-12 18:04:07 +08:00
Jerry Wu
bcb8083824 support serialization unittest auto-check (#2011)
* support serialization auto check

* fix typo

* merge master
2017-12-12 17:21:25 +08:00
Xianyan
231ff8b5e8 Add object detection related layers for model zoo and keras support (#2015)
* Add object detection model zoo support

* Add unit test

* Add more doc and python wrapper

* revert some and add createProposal

* Fix ut
2017-12-12 16:54:13 +08:00
Ian Wong
579f55b5a3 Support SperableConv2D and one hot crossentropy (#1944)
* Support SperableConv2D and one hot crossentropy

* fix compile error

* add python wrapper

* add new ut

* add ut

* fix unit test

* fix ut

* refine depthwiseConv2D

* fix seperable conv2d unit tests

* support DepthWiseConv2dBackpropInput and DepthWiseConv2DBackpropFilter

* refine the code

* add more test

* fix failed test and style issue

* fix inconsistant API with keras1

* add serialization unit test

* fix failed unit test
2017-12-12 15:06:53 +08:00
Yuhao Yang
01be6ce1a4 [keras][loss] kullback_leibler_divergence and poisson (#1938)
* add kdl and poisson

* add extra unittest

* poisson update

* kullback

* update kld

* kld update

* style fix

* add transient

* add extra ut

* init with null

* resolve conflict
2017-12-11 18:21:56 -08:00
zhangxiaoli73
569ee7aa97 add MeanAbsolutePercentageCriterion & MeanSquaredLogarithmicCriterion (#1916)
* add MeanAbsolutePercentageCriterion & MeanSquaredLogarithmicCriterion

* add docs

* meet pr comments

* meet pr comments

* exchange keras input target

* update readme
2017-12-11 16:49:59 +08:00
Jerry Wu
f48c0ed467 add Ser support to all tf related layers (#2002)
* add Ser support to all tf related layers

* fix style
2017-12-11 15:18:41 +08:00