Commit graph

2794 commits

Author SHA1 Message Date
Yan Wan
b51c466961 add CosineDistanceCriterion (#1195)
* add CosineDistanceCriterion

* add cosineDistanceCriterion

* add CosineDistanceCriterion python test

* add python test

* add blank line in pythonapi

* revise APIDocs
2017-07-19 20:28:29 +08:00
Yang Wang
7772dece03 Refine tensorflow doc (a follow up of pr #1253 to meet code review) (#1272)
* meet code review

* fix example

* meet code review

* refine title

* make saveTF compatible with saveCaffe
2017-07-18 22:45:28 -07:00
Ian Wong
e16bfe4599 Graph doc (#1275)
* Add Input docs

* fix bugs

* meet code review
2017-07-19 00:19:56 -05:00
Xin Qiu
c91f5242ab update shared convolution (#1144)
update shared convolution with latest SpatialConvolution.
Add wRegularize, bRegularizer, initWeight, initBias, initGradWeight, initGradBias, withBias
2017-07-19 08:39:30 +08:00
Xin Qiu
f658e378ce fix SpatialConvolution's hashcode and clearState will throw NullPointerException (#1268) 2017-07-18 15:24:54 +08:00
Xianyan
7aa7bd16e8 add load caffe model doc, remove useless parameter, add python api (#1266)
* add load caffe model doc, remove useless parameter, add python api

* update doc

* add save caffe

* remove empty lines

* fix python test

* Update caffe-support.md

* fix python

* update doc
2017-07-18 15:10:31 +08:00
zhangxiaoli73
9c449c1ac7 optimize joinTable perf (#1248) 2017-07-17 23:13:43 -05:00
Xianyan
1c2d630932 Fix the bug of JoinTable after calling clearState() (#1257) 2017-07-18 10:28:47 +08:00
Yang Wang
dfdb03cc17 fix concat when the dimension concatenated along is larger than 2 (#1230)
* fix concat when dim >= 3

* fix backward

* fix backward

* changing back to tensor copy

* meet code review
2017-07-13 23:29:36 -07:00
ding
ee994fb14d convert back convlstm optimization 2017-07-13 16:05:24 -07:00
Yan Wan
df873d648c BatchNormalization accepts default values (#1216)
* BatchNormalization accepts default values

* runningMean defined during run time

* remove multiple constructor in BatchNormalization class
2017-07-13 15:17:57 +08:00
Xin Qiu
5b665b64cf fix inception and xavier (#1220) 2017-07-13 12:18:09 +08:00
Yao Zhang
d733f90901 Tree LSTM with Sentiment classification example (#1217)
* finish treeLSTM with sentiment example

* fix scala style

* fix python error

* fix a python bug

* fix a typo

* fix a typo
2017-07-13 06:23:49 +08:00
Yao Zhang
1033e735b7 Make ClassNLL can process -1 label for padding, not update the model. (#1215)
* add -1 for ClassNLL

* fix typo

* add tests
2017-07-12 17:21:31 +08:00
jenniew
52fc2bcba5 update local jvm with comments 2017-07-12 02:02:22 -07:00
jenniew
1373b79587 update abstract module 2017-07-12 02:02:22 -07:00
jenniew
76411f929a create localModule and update local predictor 2017-07-12 02:02:22 -07:00
Yao Zhang
98717d6d8b Fix maptable bug (#1214)
* fix maptable bug

* Add new line to end of maptable
2017-07-12 16:44:41 +08:00
Yao Zhang
9909c1e630 Add 1D Convolution (TemporalConvolution) (#1180)
* add test

* remove unnecessary change in LinearSpec

* finish Temporal Convolution

* add python API

* meet code review

* meet code review

* fix typos

* fix typos

* meet code review
2017-07-12 15:51:00 +08:00
Yao Zhang
fe05012ea9 Fix a bug in the MV layer (#1171)
* add test

* remove unnecessary change in LinearSpec

* fix MV bugs
2017-07-12 14:28:31 +08:00
ding
3e90228f9d improve perf and add md 2017-07-11 11:26:59 -07:00
ding
381a6089fe add optimation for convlstm 2017-07-11 11:26:59 -07:00
Xin Qiu
01e8b8d2d8 save/load model from s3 (#1136) 2017-07-11 21:23:44 +08:00
JerryYanWan
f1c300d730 RNN cells do not execute preTopology in Dropout mode 2017-07-11 14:56:57 +08:00
Jerry Wu
36685c3226 Caffe persister (#1095)
* add dynamic caffe loading support

* refined with bug fix and more commnets

* fix typo and bias check for convolution

* renaming change

* fix import reference

* refine customized layer support

* fix style check issue

* resolve style issue

* resolve conflict

* caffe persister implementation

* refinement with pr

* rename loadcaffe name

* fix typo

* add docs
2017-07-11 14:35:31 +08:00
Xianyan
dfc5958854 [Issue 864] save module weights, load (all / part) module weights (#1102)
* load save module weights

* add support for loading from another model

* meet code review
2017-07-11 13:57:59 +08:00
JerryYanWan
f4170c89ef fix bugs in convLSTM 2017-07-11 12:56:53 +08:00
ding
b15db4690b fix comments 2017-07-07 09:47:14 -07:00
ding
2b9d72caea support convlstm and convolution without bias 2017-07-07 09:47:14 -07:00
ding
ea6ad9dd90 fix comments 2017-07-06 19:38:01 -07:00
ding
7bb0d92a68 support spatial convultion without bias 2017-07-06 19:38:01 -07:00
Yao Zhang
6d7f846894 Remove unnecessary varialbe in Recurrent object construtor (#1127)
* add test

* remove unnecessary change in LinearSpec

* Remove unnecessary varialbe in Recurrent object construtor

* pass the test
2017-07-07 10:12:11 +08:00
Yao Zhang
9f00c87f7d Make SpatialFullConvolution declare with implict numeric type (#1128)
* add test

* remove unnecessary change in LinearSpec

* Make SpatialFullConvolution declare with implict numeric type

* rebase master

* change SpatailaFullConvolution doc
2017-07-06 18:47:07 +08:00
Yan Wan
2f25b70660 Optimize LSTMPeephole by pre-calculating the input2hidden linear (#1158)
* optimize LSTMPeephole

* remove setname

* test speed, and add class variable

* rename timeDim to featDim in LSTMPeephole
2017-07-06 16:55:12 +08:00
Yan Wan
ffae7fa1ba optimize GRU by pre-calculating three linear operations (#1150)
* add preTopology for GRU

optimize GRU

* remove revisions in peephole

* pass dropout test

* add speed test

* remove unnecessary variables; judge preTopology == Sequential

* add comment
2017-07-06 15:37:28 +08:00
Yan Wan
5e852b278c Timedistributed add getParametersTable method (#1154)
* override getParametersTable method

* test getParametersTable
2017-07-05 16:21:50 +08:00
JerryYanWan
ed95a2be0f revise hashCode to avoid null pointer 2017-07-05 09:49:45 +08:00
Ian Wong
4f92f58e2e Checkin document pages (#1068)
* checkin md doc files

* add some docs

* add more docs

* change the folder location

* fix unit test

* fix typos

* fix typo
2017-07-04 13:52:13 +08:00
JerryYanWan
44d65c765b fix set bugs for fInput and fGradInput in TimeDistributed layer
code style
2017-07-03 17:34:47 +08:00
Xianyan
9d9ea0c2f4 fix VolumetricConvolution unit test, and fix bug in batch mode (#1105)
* fix VolumetricConvolution unit test, and fix bug in batch mode

* meet pr review
2017-06-30 15:41:47 +08:00
Xin Qiu
6c09fdc644 fix some unit test (#1104) 2017-06-30 13:46:11 +08:00
zhangxiaoli73
0fea118680 makedown docs for some API (#1075)
* add some api md

* change according to reviews
2017-06-30 13:37:50 +08:00
yangw
a75550b1da fix RnnCell factory method 2017-06-29 05:10:05 -05:00
Yan Wan
96528b334f add preTopology to boost performance of rnn (#1117)
* add preTopology to boost performance of rnn

* require only one Cell added

* require logic revision, modules.length == 1 || modules.length == 2

* add Javadoc for preTopology in Cell and Recurrent
2017-06-29 16:02:47 +08:00
xinyue
ae0ba8a35d [Issue 930] Separate scale into scaleW and scaleB (#975) 2017-06-27 13:13:10 +08:00
Yao Zhang
20517a36c7 Polish InferReshape documentation (#1087)
* Polish InferReshape documentation

* remove linearSpec unnecessary change

* fix core conflict

* meet code review
2017-06-26 14:07:58 +08:00
zhangxiaoli73
df08717f07 add L1HingeEmbeddingCriterion unit test for python (#1073) 2017-06-23 16:52:47 +08:00
Ian Wong
ca2dce6049 rename apply to inputs when define connection in Graph API (#1069)
* rename apply to inputs

* fix style check
2017-06-23 13:40:19 +08:00
Xianyan
ff2ada5f87 let getNamedModule also return containers, add unit test for it (#1067) 2017-06-23 10:17:16 +08:00
Jerry Wu
1210ae50fe Caffe Model Support - Load Caffe Dynamically from Prototxt and Binary (#964)
* add dynamic caffe loading support

* refined with bug fix and more commnets

* fix typo and bias check for convolution

* renaming change

* fix import reference

* refine customized layer support

* fix style check issue

* resolve style issue
2017-06-23 10:10:57 +08:00