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
Kai Huang
4619ab5390
Map newly added keras layers on python side ( #1990 )
...
* update
* add maxoutdense
* add masking
* add srelu
* highway activation as string; update docs
* code clean
2017-12-08 18:13:02 +08:00
dding3
33bc824adf
Add multiple rnn cell and support get/setHiddenState in Recurrent( #1591 )
...
* add multicell
* add get/setHiddenStates
2017-12-07 15:15:46 -05:00
Yang Wang
62731ce677
fix output allocation bug ( #1982 )
...
* fix output allocation bug
* fix test
* fix rebase
* fix test
* fix ut
2017-12-07 13:22:57 +08:00
dding3
6a4d228113
Support Keras masking and maxoutdense ( #1918 )
...
* support keras Masking layer
* support keras maxoutdense
2017-12-06 14:17:03 -05:00
Jerry Wu
c0202a79f9
add support for multiple tensornumerics ( #1984 )
2017-12-05 19:57:44 -06:00
Yanzhang Wang
e7ca47e837
feat: SReLU and ActivityRegularization support ( #1917 )
...
* feat: SReLU and ActivityRegularization support
* fix: update doc
* fix: refactor the weights and gradWeights of SReLU
* fix: serialization for srelu
* fix: backward computing errors
* fix: ActivityRegularization to layer
* fix: change test location
* fix: add python api
* fix: shared axes have not consider enough
2017-12-05 17:42:49 +08:00
Jerry Wu
3c6e08f4f7
Pb support bigmodel ( #1976 )
...
* support new format
* add unit test
* add unit test
* refinement
* fix typo
* fix unit test
2017-12-05 02:05:32 -06:00
Ian Wong
02d186814f
Support NHWC for LRN and batch normalization, and optimize batch normalization speed ( #1936 )
...
* add LRN and LRNGrad
* add LRNGrad
* support bn with NHWC
* support bn with NHWC
* add batch norm grad
* support tf bnv2/bngradv2
* fix uts
* fix uts
* fix ut
* fix ut
* fix ut
* fix ut
* fix style issue
* fix ut
* fix ut
* fix ut
* update python api and docs
* meet code review
* meet code review
* fix ut
* fix ut
* fix ut
2017-12-05 15:07:59 +08:00
Ian Wong
4671809646
Add an API to get node from graph model with given name ( #1871 )
...
* get node from graph
* add unit test
* add Graph.node api in python
2017-12-04 16:31:47 +08:00
Xianyan
5f8cbc7900
Add Upsample3d ( #1911 )
...
* add
* Add upsample3d
* add SerialVersionUID
* add python
* Fix ut
* add saveModule test
* add updample3d serializer and markdown doc
* meet code review
* meet code review
* fix ut
* fix ut
* resolve conflicts
2017-11-30 13:26:32 +08:00
Xianyan
b233affcdf
Add keras highway ( #1913 )
...
* Add highway
* Fix unit test
* Add python support
* fix ut
* add module seri
* fix ut
* Add API doc
* Add Regularizer
2017-11-28 19:05:11 +08:00
Jerry Wu
ab60cab53f
Keras support - add cosine proximity criterion ( #1902 )
...
* keras support to add CosineProximityCriterion
* fix criterion
* add unit test
* fix typo
* add comment
2017-11-27 19:09:19 -06:00
Shane Huang
a808c0aa6f
add GaussianDropout, GaussianNoise layers ( #1894 )
...
* add GaussianDropout, GaussianNoise layers, unit tests, python wrapper, module serializer unit test and docs
2017-11-27 17:47:46 +08:00
Kai Huang
c5cb592d63
add activation for recurrent layers ( #1909 )
2017-11-27 16:54:13 +08:00
Jerry Wu
8654df46c6
fix graph missing generatebackward ( #1877 )
2017-11-27 02:04:59 -06:00
Kai Huang
b5ef25947c
Add serialization test for CAveTable and VolumetricAveragePooling ( #1926 )
...
* add serialization uid
* add ut for serialization
2017-11-27 09:06:20 +08:00
Kai Huang
f574783f77
Add more keras layers and test ( #1891 )
...
* add, update and fix
* add hard_sigmoid
* fix python3.5 lambda in permute
* fix syntax for python3.5
* fix pooling and conv layers
* fix syntax
* fix permute for py35
2017-11-20 21:09:43 -06:00