Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
SparseConvNet
Commits
6de372c3
Commit
6de372c3
authored
Sep 13, 2017
by
Benjamin Thomas Graham
Browse files
add batch information to getSpatialLocations
parent
96addd52
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2053 additions
and
2123 deletions
+2053
-2123
PyTorch/sparseconvnet/SCN/generic/Geometry/Metadata.cpp
PyTorch/sparseconvnet/SCN/generic/Geometry/Metadata.cpp
+8
-9
PyTorch/sparseconvnet/SCN/header_cpu.h
PyTorch/sparseconvnet/SCN/header_cpu.h
+1286
-1329
PyTorch/sparseconvnet/SCN/header_gpu.h
PyTorch/sparseconvnet/SCN/header_gpu.h
+596
-638
PyTorch/sparseconvnet/legacy/inputBatch.py
PyTorch/sparseconvnet/legacy/inputBatch.py
+19
-1
Torch/C.lua
Torch/C.lua
+144
-146
No files found.
PyTorch/sparseconvnet/SCN/generic/Geometry/Metadata.cpp
View file @
6de372c3
...
@@ -63,9 +63,7 @@ extern "C" void scn_D_(setInputSpatialLocations)(void **m,
...
@@ -63,9 +63,7 @@ extern "C" void scn_D_(setInputSpatialLocations)(void **m,
assert
((
locations
->
size
[
1
]
==
Dimension
or
assert
((
locations
->
size
[
1
]
==
Dimension
or
locations
->
size
[
1
]
==
1
+
Dimension
)
and
locations
->
size
[
1
]
==
1
+
Dimension
)
and
"locations.size(0) must be either Dimension or Dimension+1"
);
"locations.size(0) must be either Dimension or Dimension+1"
);
SCN_INITIALIZE_AND_REFERENCE
(
Metadata
<
Dimension
>
,
m
)
SCN_INITIALIZE_AND_REFERENCE
(
Metadata
<
Dimension
>
,
m
)
Point
<
Dimension
>
p
;
Point
<
Dimension
>
p
;
auto
&
nActive
=
*
_m
.
inputNActive
;
auto
&
nActive
=
*
_m
.
inputNActive
;
auto
nPlanes
=
vecs
->
size
[
1
];
auto
nPlanes
=
vecs
->
size
[
1
];
...
@@ -73,7 +71,8 @@ extern "C" void scn_D_(setInputSpatialLocations)(void **m,
...
@@ -73,7 +71,8 @@ extern "C" void scn_D_(setInputSpatialLocations)(void **m,
auto
v
=
THFloatTensor_data
(
vecs
);
auto
v
=
THFloatTensor_data
(
vecs
);
if
(
locations
->
size
[
1
]
==
Dimension
)
{
if
(
locations
->
size
[
1
]
==
Dimension
)
{
assert
(
_m
.
inputSG
);
// add points to current sample
// add points to current sample
assert
(
_m
.
inputSG
);
auto
&
mp
=
_m
.
inputSG
->
mp
;
auto
&
mp
=
_m
.
inputSG
->
mp
;
for
(
uInt
idx
=
0
;
idx
<
locations
->
size
[
0
];
++
idx
)
{
for
(
uInt
idx
=
0
;
idx
<
locations
->
size
[
0
];
++
idx
)
{
for
(
int
d
=
0
;
d
<
Dimension
;
++
d
)
for
(
int
d
=
0
;
d
<
Dimension
;
++
d
)
...
@@ -101,9 +100,9 @@ extern "C" void scn_D_(setInputSpatialLocations)(void **m,
...
@@ -101,9 +100,9 @@ extern "C" void scn_D_(setInputSpatialLocations)(void **m,
}
}
}
}
extern
"C"
void
scn_D_
(
getSpatialLocations
)(
void
**
m
,
extern
"C"
void
scn_D_
(
getSpatialLocations
)(
void
**
m
,
THLongTensor
*
spatialSize
,
THLongTensor
*
spatialSize
,
THLongTensor
*
locations
,
THLongTensor
*
location
s
)
{
THLongTensor
*
batchIdx
s
)
{
SCN_INITIALIZE_AND_REFERENCE
(
Metadata
<
Dimension
>
,
m
)
SCN_INITIALIZE_AND_REFERENCE
(
Metadata
<
Dimension
>
,
m
)
uInt
nActive
=
_m
.
getNActive
(
spatialSize
);
uInt
nActive
=
_m
.
getNActive
(
spatialSize
);
auto
&
SGs
=
_m
.
getSparseGrid
(
spatialSize
);
auto
&
SGs
=
_m
.
getSparseGrid
(
spatialSize
);
...
@@ -125,9 +124,9 @@ extern "C" void scn_D_(getSpatialLocations)(void **m,
...
@@ -125,9 +124,9 @@ extern "C" void scn_D_(getSpatialLocations)(void **m,
}
}
}
}
extern
"C"
void
extern
"C"
void
scn_D_
(
createMetadataForDenseToSparse
)(
void
**
m
,
THLongTensor
*
spatialSize_
,
scn_D_
(
createMetadataForDenseToSparse
)(
void
**
m
,
THLongTensor
*
spatialSize_
,
THLongTensor
*
pad_
,
THLongTensor
*
pad_
,
THLongTensor
*
nz_
,
THLongTensor
*
nz_
,
long
batchSize
)
{
long
batchSize
)
{
SCN_INITIALIZE_AND_REFERENCE
(
Metadata
<
Dimension
>
,
m
)
SCN_INITIALIZE_AND_REFERENCE
(
Metadata
<
Dimension
>
,
m
)
_m
.
setInputSpatialSize
(
spatialSize_
);
_m
.
setInputSpatialSize
(
spatialSize_
);
_m
.
inputSGs
->
resize
(
batchSize
);
_m
.
inputSGs
->
resize
(
batchSize
);
...
...
PyTorch/sparseconvnet/SCN/header_cpu.h
View file @
6de372c3
...
@@ -4,241 +4,188 @@
...
@@ -4,241 +4,188 @@
// This source code is licensed under the license found in the
// This source code is licensed under the license found in the
// LICENSE file in the root directory of this source tree.
// LICENSE file in the root directory of this source tree.
void
scn_2_drawCurve
(
void
**
m
,
THFloatTensor
*
features
,
THFloatTensor
*
stroke
);
long
scn_readPtr
(
void
**
ptr
);
long
scn_readPtr
(
void
**
ptr
);
void
scn_writePtr
(
long
p
,
void
**
ptr
);
void
scn_writePtr
(
long
p
,
void
**
ptr
);
double
scn_ruleBookBits
(
void
);
double
scn_ruleBookBits
(
void
);
double
scn_1_addSampleFromThresholdedTensor
(
void
**
m
,
THFloatTensor
*
features_
,
void
scn_2_drawCurve
(
void
**
m
,
THFloatTensor
*
features
,
THFloatTensor
*
stroke
);
THFloatTensor
*
tensor_
,
double
scn_1_addSampleFromThresholdedTensor
(
THLongTensor
*
offset_
,
void
**
m
,
THFloatTensor
*
features_
,
THFloatTensor
*
tensor_
,
THLongTensor
*
spatialSize_
,
THLongTensor
*
offset_
,
THLongTensor
*
spatialSize_
,
float
threshold
);
float
threshold
);
void
scn_1_batchAddSample
(
void
**
m
);
void
scn_1_batchAddSample
(
void
**
m
);
void
scn_1_createMetadataForDenseToSparse
(
void
**
m
,
THLongTensor
*
spatialSize_
,
void
scn_1_createMetadataForDenseToSparse
(
THLongTensor
*
pad
,
THLongTensor
*
nz
,
void
**
m
,
THLongTensor
*
spatialSize_
,
THLongTensor
*
pad
,
THLongTensor
*
nz
,
long
batchSize
);
long
batchSize
);
void
scn_1_freeMetadata
(
void
**
metadata
);
void
scn_1_freeMetadata
(
void
**
metadata
);
void
scn_1_generateRuleBooks3s2
(
void
**
m
);
void
scn_1_generateRuleBooks3s2
(
void
**
m
);
void
scn_1_generateRuleBooks2s2
(
void
**
m
);
void
scn_1_generateRuleBooks2s2
(
void
**
m
);
void
scn_1_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_1_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_1_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_1_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_1_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_1_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_1_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
void
scn_1_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
THLongTensor
*
locations
);
THLongTensor
*
locations
);
double
scn_2_addSampleFromThresholdedTensor
(
void
**
m
,
THFloatTensor
*
features_
,
double
scn_2_addSampleFromThresholdedTensor
(
THFloatTensor
*
tensor_
,
void
**
m
,
THFloatTensor
*
features_
,
THFloatTensor
*
tensor_
,
THLongTensor
*
offset_
,
THLongTensor
*
offset_
,
THLongTensor
*
spatialSize_
,
float
threshold
);
THLongTensor
*
spatialSize_
,
float
threshold
);
void
scn_2_batchAddSample
(
void
**
m
);
void
scn_2_batchAddSample
(
void
**
m
);
void
scn_2_createMetadataForDenseToSparse
(
void
**
m
,
THLongTensor
*
spatialSize_
,
void
scn_2_createMetadataForDenseToSparse
(
THLongTensor
*
pad
,
THLongTensor
*
nz
,
void
**
m
,
THLongTensor
*
spatialSize_
,
THLongTensor
*
pad
,
THLongTensor
*
nz
,
long
batchSize
);
long
batchSize
);
void
scn_2_freeMetadata
(
void
**
metadata
);
void
scn_2_freeMetadata
(
void
**
metadata
);
void
scn_2_generateRuleBooks3s2
(
void
**
m
);
void
scn_2_generateRuleBooks3s2
(
void
**
m
);
void
scn_2_generateRuleBooks2s2
(
void
**
m
);
void
scn_2_generateRuleBooks2s2
(
void
**
m
);
void
scn_2_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_2_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_2_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_2_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_2_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_2_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_2_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
void
scn_2_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
THLongTensor
*
locations
);
THLongTensor
*
locations
);
double
scn_3_addSampleFromThresholdedTensor
(
void
**
m
,
THFloatTensor
*
features_
,
double
scn_3_addSampleFromThresholdedTensor
(
THFloatTensor
*
tensor_
,
void
**
m
,
THFloatTensor
*
features_
,
THFloatTensor
*
tensor_
,
THLongTensor
*
offset_
,
THLongTensor
*
offset_
,
THLongTensor
*
spatialSize_
,
float
threshold
);
THLongTensor
*
spatialSize_
,
float
threshold
);
void
scn_3_batchAddSample
(
void
**
m
);
void
scn_3_batchAddSample
(
void
**
m
);
void
scn_3_createMetadataForDenseToSparse
(
void
**
m
,
THLongTensor
*
spatialSize_
,
void
scn_3_createMetadataForDenseToSparse
(
THLongTensor
*
pad
,
THLongTensor
*
nz
,
void
**
m
,
THLongTensor
*
spatialSize_
,
THLongTensor
*
pad
,
THLongTensor
*
nz
,
long
batchSize
);
long
batchSize
);
void
scn_3_freeMetadata
(
void
**
metadata
);
void
scn_3_freeMetadata
(
void
**
metadata
);
void
scn_3_generateRuleBooks3s2
(
void
**
m
);
void
scn_3_generateRuleBooks3s2
(
void
**
m
);
void
scn_3_generateRuleBooks2s2
(
void
**
m
);
void
scn_3_generateRuleBooks2s2
(
void
**
m
);
void
scn_3_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_3_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_3_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_3_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_3_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_3_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_3_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
void
scn_3_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
THLongTensor
*
locations
);
THLongTensor
*
locations
);
double
scn_4_addSampleFromThresholdedTensor
(
void
**
m
,
THFloatTensor
*
features_
,
double
scn_4_addSampleFromThresholdedTensor
(
THFloatTensor
*
tensor_
,
void
**
m
,
THFloatTensor
*
features_
,
THFloatTensor
*
tensor_
,
THLongTensor
*
offset_
,
THLongTensor
*
offset_
,
THLongTensor
*
spatialSize_
,
float
threshold
);
THLongTensor
*
spatialSize_
,
float
threshold
);
void
scn_4_batchAddSample
(
void
**
m
);
void
scn_4_batchAddSample
(
void
**
m
);
void
scn_4_createMetadataForDenseToSparse
(
void
**
m
,
THLongTensor
*
spatialSize_
,
void
scn_4_createMetadataForDenseToSparse
(
THLongTensor
*
pad
,
THLongTensor
*
nz
,
void
**
m
,
THLongTensor
*
spatialSize_
,
THLongTensor
*
pad
,
THLongTensor
*
nz
,
long
batchSize
);
long
batchSize
);
void
scn_4_freeMetadata
(
void
**
metadata
);
void
scn_4_freeMetadata
(
void
**
metadata
);
void
scn_4_generateRuleBooks3s2
(
void
**
m
);
void
scn_4_generateRuleBooks3s2
(
void
**
m
);
void
scn_4_generateRuleBooks2s2
(
void
**
m
);
void
scn_4_generateRuleBooks2s2
(
void
**
m
);
void
scn_4_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_4_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_4_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_4_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_4_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_4_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_4_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
void
scn_4_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
THLongTensor
*
locations
);
THLongTensor
*
locations
);
double
scn_5_addSampleFromThresholdedTensor
(
void
**
m
,
THFloatTensor
*
features_
,
double
scn_5_addSampleFromThresholdedTensor
(
THFloatTensor
*
tensor_
,
void
**
m
,
THFloatTensor
*
features_
,
THFloatTensor
*
tensor_
,
THLongTensor
*
offset_
,
THLongTensor
*
offset_
,
THLongTensor
*
spatialSize_
,
float
threshold
);
THLongTensor
*
spatialSize_
,
float
threshold
);
void
scn_5_batchAddSample
(
void
**
m
);
void
scn_5_batchAddSample
(
void
**
m
);
void
scn_5_createMetadataForDenseToSparse
(
void
**
m
,
THLongTensor
*
spatialSize_
,
void
scn_5_createMetadataForDenseToSparse
(
THLongTensor
*
pad
,
THLongTensor
*
nz
,
void
**
m
,
THLongTensor
*
spatialSize_
,
THLongTensor
*
pad
,
THLongTensor
*
nz
,
long
batchSize
);
long
batchSize
);
void
scn_5_freeMetadata
(
void
**
metadata
);
void
scn_5_freeMetadata
(
void
**
metadata
);
void
scn_5_generateRuleBooks3s2
(
void
**
m
);
void
scn_5_generateRuleBooks3s2
(
void
**
m
);
void
scn_5_generateRuleBooks2s2
(
void
**
m
);
void
scn_5_generateRuleBooks2s2
(
void
**
m
);
void
scn_5_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_5_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_5_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_5_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_5_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_5_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_5_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
void
scn_5_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
THLongTensor
*
locations
);
THLongTensor
*
locations
);
double
scn_6_addSampleFromThresholdedTensor
(
void
**
m
,
THFloatTensor
*
features_
,
double
scn_6_addSampleFromThresholdedTensor
(
THFloatTensor
*
tensor_
,
void
**
m
,
THFloatTensor
*
features_
,
THFloatTensor
*
tensor_
,
THLongTensor
*
offset_
,
THLongTensor
*
offset_
,
THLongTensor
*
spatialSize_
,
float
threshold
);
THLongTensor
*
spatialSize_
,
float
threshold
);
void
scn_6_batchAddSample
(
void
**
m
);
void
scn_6_batchAddSample
(
void
**
m
);
void
scn_6_createMetadataForDenseToSparse
(
void
**
m
,
THLongTensor
*
spatialSize_
,
void
scn_6_createMetadataForDenseToSparse
(
THLongTensor
*
pad
,
THLongTensor
*
nz
,
void
**
m
,
THLongTensor
*
spatialSize_
,
THLongTensor
*
pad
,
THLongTensor
*
nz
,
long
batchSize
);
long
batchSize
);
void
scn_6_freeMetadata
(
void
**
metadata
);
void
scn_6_freeMetadata
(
void
**
metadata
);
void
scn_6_generateRuleBooks3s2
(
void
**
m
);
void
scn_6_generateRuleBooks3s2
(
void
**
m
);
void
scn_6_generateRuleBooks2s2
(
void
**
m
);
void
scn_6_generateRuleBooks2s2
(
void
**
m
);
void
scn_6_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_6_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_6_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_6_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_6_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_6_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_6_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
void
scn_6_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
THLongTensor
*
locations
);
THLongTensor
*
locations
);
double
scn_7_addSampleFromThresholdedTensor
(
void
**
m
,
THFloatTensor
*
features_
,
double
scn_7_addSampleFromThresholdedTensor
(
THFloatTensor
*
tensor_
,
void
**
m
,
THFloatTensor
*
features_
,
THFloatTensor
*
tensor_
,
THLongTensor
*
offset_
,
THLongTensor
*
offset_
,
THLongTensor
*
spatialSize_
,
float
threshold
);
THLongTensor
*
spatialSize_
,
float
threshold
);
void
scn_7_batchAddSample
(
void
**
m
);
void
scn_7_batchAddSample
(
void
**
m
);
void
scn_7_createMetadataForDenseToSparse
(
void
**
m
,
THLongTensor
*
spatialSize_
,
void
scn_7_createMetadataForDenseToSparse
(
THLongTensor
*
pad
,
THLongTensor
*
nz
,
void
**
m
,
THLongTensor
*
spatialSize_
,
THLongTensor
*
pad
,
THLongTensor
*
nz
,
long
batchSize
);
long
batchSize
);
void
scn_7_freeMetadata
(
void
**
metadata
);
void
scn_7_freeMetadata
(
void
**
metadata
);
void
scn_7_generateRuleBooks3s2
(
void
**
m
);
void
scn_7_generateRuleBooks3s2
(
void
**
m
);
void
scn_7_generateRuleBooks2s2
(
void
**
m
);
void
scn_7_generateRuleBooks2s2
(
void
**
m
);
void
scn_7_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_7_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_7_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_7_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_7_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_7_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_7_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
void
scn_7_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
THLongTensor
*
locations
);
THLongTensor
*
locations
);
double
scn_8_addSampleFromThresholdedTensor
(
void
**
m
,
THFloatTensor
*
features_
,
double
scn_8_addSampleFromThresholdedTensor
(
THFloatTensor
*
tensor_
,
void
**
m
,
THFloatTensor
*
features_
,
THFloatTensor
*
tensor_
,
THLongTensor
*
offset_
,
THLongTensor
*
offset_
,
THLongTensor
*
spatialSize_
,
float
threshold
);
THLongTensor
*
spatialSize_
,
float
threshold
);
void
scn_8_batchAddSample
(
void
**
m
);
void
scn_8_batchAddSample
(
void
**
m
);
void
scn_8_createMetadataForDenseToSparse
(
void
**
m
,
THLongTensor
*
spatialSize_
,
void
scn_8_createMetadataForDenseToSparse
(
THLongTensor
*
pad
,
THLongTensor
*
nz
,
void
**
m
,
THLongTensor
*
spatialSize_
,
THLongTensor
*
pad
,
THLongTensor
*
nz
,
long
batchSize
);
long
batchSize
);
void
scn_8_freeMetadata
(
void
**
metadata
);
void
scn_8_freeMetadata
(
void
**
metadata
);
void
scn_8_generateRuleBooks3s2
(
void
**
m
);
void
scn_8_generateRuleBooks3s2
(
void
**
m
);
void
scn_8_generateRuleBooks2s2
(
void
**
m
);
void
scn_8_generateRuleBooks2s2
(
void
**
m
);
void
scn_8_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_8_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_8_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_8_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_8_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_8_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_8_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
void
scn_8_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
THLongTensor
*
locations
);
THLongTensor
*
locations
);
double
scn_9_addSampleFromThresholdedTensor
(
void
**
m
,
THFloatTensor
*
features_
,
double
scn_9_addSampleFromThresholdedTensor
(
THFloatTensor
*
tensor_
,
void
**
m
,
THFloatTensor
*
features_
,
THFloatTensor
*
tensor_
,
THLongTensor
*
offset_
,
THLongTensor
*
offset_
,
THLongTensor
*
spatialSize_
,
float
threshold
);
THLongTensor
*
spatialSize_
,
float
threshold
);
void
scn_9_batchAddSample
(
void
**
m
);
void
scn_9_batchAddSample
(
void
**
m
);
void
scn_9_createMetadataForDenseToSparse
(
void
**
m
,
THLongTensor
*
spatialSize_
,
void
scn_9_createMetadataForDenseToSparse
(
THLongTensor
*
pad
,
THLongTensor
*
nz
,
void
**
m
,
THLongTensor
*
spatialSize_
,
THLongTensor
*
pad
,
THLongTensor
*
nz
,
long
batchSize
);
long
batchSize
);
void
scn_9_freeMetadata
(
void
**
metadata
);
void
scn_9_freeMetadata
(
void
**
metadata
);
void
scn_9_generateRuleBooks3s2
(
void
**
m
);
void
scn_9_generateRuleBooks3s2
(
void
**
m
);
void
scn_9_generateRuleBooks2s2
(
void
**
m
);
void
scn_9_generateRuleBooks2s2
(
void
**
m
);
void
scn_9_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_9_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_9_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_9_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_9_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_9_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_9_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
void
scn_9_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
THLongTensor
*
locations
);
THLongTensor
*
locations
);
double
scn_10_addSampleFromThresholdedTensor
(
void
**
m
,
THFloatTensor
*
features_
,
double
scn_10_addSampleFromThresholdedTensor
(
THFloatTensor
*
tensor_
,
void
**
m
,
THFloatTensor
*
features_
,
THFloatTensor
*
tensor_
,
THLongTensor
*
offset_
,
THLongTensor
*
offset_
,
THLongTensor
*
spatialSize_
,
float
threshold
);
THLongTensor
*
spatialSize_
,
float
threshold
);
void
scn_10_batchAddSample
(
void
**
m
);
void
scn_10_batchAddSample
(
void
**
m
);
void
scn_10_createMetadataForDenseToSparse
(
void
**
m
,
THLongTensor
*
spatialSize_
,
void
scn_10_createMetadataForDenseToSparse
(
THLongTensor
*
pad
,
THLongTensor
*
nz
,
void
**
m
,
THLongTensor
*
spatialSize_
,
THLongTensor
*
pad
,
THLongTensor
*
nz
,
long
batchSize
);
long
batchSize
);
void
scn_10_freeMetadata
(
void
**
metadata
);
void
scn_10_freeMetadata
(
void
**
metadata
);
void
scn_10_generateRuleBooks3s2
(
void
**
m
);
void
scn_10_generateRuleBooks3s2
(
void
**
m
);
void
scn_10_generateRuleBooks2s2
(
void
**
m
);
void
scn_10_generateRuleBooks2s2
(
void
**
m
);
void
scn_10_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_10_setInputSpatialSize
(
void
**
m
,
THLongTensor
*
spatialSize
);
void
scn_10_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_10_setInputSpatialLocation
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
THLongTensor
*
location
,
THFloatTensor
*
vec
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_10_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
void
scn_10_setInputSpatialLocations
(
void
**
m
,
THFloatTensor
*
features
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
THLongTensor
*
locations
,
THFloatTensor
*
vecs
,
_Bool
overwrite
);
_Bool
overwrite
);
void
scn_10_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
void
scn_10_getSpatialLocations
(
void
**
m
,
THLongTensor
*
spatialSize
,
THLongTensor
*
locations
);
THLongTensor
*
locations
);
void
scn_cpu_float_AffineReluTrivialConvolution_updateOutput
(
void
scn_cpu_float_AffineReluTrivialConvolution_updateOutput
(
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
affineWeight
,
THFloatTensor
*
affineBias
,
THFloatTensor
*
affineWeight
,
THFloatTensor
*
affineBias
,
THFloatTensor
*
convWeight
);
THFloatTensor
*
convWeight
);
void
scn_cpu_float_AffineReluTrivialConvolution_backward
(
void
scn_cpu_float_AffineReluTrivialConvolution_backward
(
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
affineWeight
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
affineWeight
,
THFloatTensor
*
d_affineWeight
,
THFloatTensor
*
affineBias
,
THFloatTensor
*
d_affineWeight
,
THFloatTensor
*
affineBias
,
THFloatTensor
*
d_affineBias
,
THFloatTensor
*
d_affineBias
,
THFloatTensor
*
convWeight
,
THFloatTensor
*
convWeight
,
THFloatTensor
*
d_convWeight
,
_Bool
additiveGrad
);
THFloatTensor
*
d_convWeight
,
_Bool
additiveGrad
);
// BatchwiseMultiplicativeDropout
// BatchwiseMultiplicativeDropout
void
scn_cpu_float_BatchwiseMultiplicativeDropout_updateOutput
(
void
scn_cpu_float_BatchwiseMultiplicativeDropout_updateOutput
(
...
@@ -253,33 +200,29 @@ void scn_cpu_float_BatchwiseMultiplicativeDropout_updateGradInput(
...
@@ -253,33 +200,29 @@ void scn_cpu_float_BatchwiseMultiplicativeDropout_updateGradInput(
// BatchNormalization
// BatchNormalization
void
scn_cpu_float_BatchNormalization_updateOutput
(
void
scn_cpu_float_BatchNormalization_updateOutput
(
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
saveMean
,
THFloatTensor
*
saveInvStd
,
THFloatTensor
*
saveMean
,
THFloatTensor
*
saveInvStd
,
THFloatTensor
*
runningMean
,
THFloatTensor
*
runningMean
,
THFloatTensor
*
runningVar
,
THFloatTensor
*
runningVar
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
float
eps
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
float
eps
,
float
momentum
,
float
momentum
,
_Bool
train
,
float
leakiness
);
_Bool
train
,
float
leakiness
);
void
scn_cpu_float_BatchNormalization_backward
(
void
scn_cpu_float_BatchNormalization_backward
(
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
saveMean
,
THFloatTensor
*
saveMean
,
THFloatTensor
*
saveInvStd
,
THFloatTensor
*
saveInvStd
,
THFloatTensor
*
runningMean
,
THFloatTensor
*
runningVar
,
THFloatTensor
*
runningMean
,
THFloatTensor
*
runningVar
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
d_weight
,
float
leakiness
);
THFloatTensor
*
d_bias
,
float
leakiness
);
// BatchNormalizationInTensor
// BatchNormalizationInTensor
void
scn_cpu_float_BatchNormalizationInTensor_updateOutput
(
void
scn_cpu_float_BatchNormalizationInTensor_updateOutput
(
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
saveMean
,
THFloatTensor
*
saveInvStd
,
THFloatTensor
*
saveMean
,
THFloatTensor
*
saveInvStd
,
THFloatTensor
*
runningMean
,
THFloatTensor
*
runningMean
,
THFloatTensor
*
runningVar
,
THFloatTensor
*
runningVar
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
float
eps
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
float
eps
,
float
momentum
,
float
momentum
,
_Bool
train
,
float
leakiness
);
_Bool
train
,
float
leakiness
);
// LeakyReLU
// LeakyReLU
void
scn_cpu_float_LeakyReLU_updateOutput
(
THFloatTensor
*
input_features
,
void
scn_cpu_float_LeakyReLU_updateOutput
(
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
n
,
long
n
,
float
alpha
);
float
alpha
);
void
scn_cpu_float_LeakyReLU_updateGradInput
(
THFloatTensor
*
input_features
,
void
scn_cpu_float_LeakyReLU_updateGradInput
(
THFloatTensor
*
d_input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
d_output_features
,
long
n
,
float
alpha
);
long
n
,
float
alpha
);
// NetworkInNetwork
// NetworkInNetwork
double
scn_cpu_float_NetworkInNetwork_updateOutput
(
double
scn_cpu_float_NetworkInNetwork_updateOutput
(
...
@@ -291,16 +234,14 @@ void scn_cpu_float_NetworkInNetwork_updateGradInput(
...
@@ -291,16 +234,14 @@ void scn_cpu_float_NetworkInNetwork_updateGradInput(
void
scn_cpu_float_NetworkInNetwork_accGradParameters
(
void
scn_cpu_float_NetworkInNetwork_accGradParameters
(
THFloatTensor
*
input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
);
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
);
void
scn_cpu_double_AffineReluTrivialConvolution_updateOutput
(
void
scn_cpu_double_AffineReluTrivialConvolution_updateOutput
(
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
affineWeight
,
THDoubleTensor
*
affineBias
,
THDoubleTensor
*
affineWeight
,
THDoubleTensor
*
affineBias
,
THDoubleTensor
*
convWeight
);
THDoubleTensor
*
convWeight
);
void
scn_cpu_double_AffineReluTrivialConvolution_backward
(
void
scn_cpu_double_AffineReluTrivialConvolution_backward
(
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
affineWeight
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
affineWeight
,
THDoubleTensor
*
d_affineWeight
,
THDoubleTensor
*
affineBias
,
THDoubleTensor
*
d_affineWeight
,
THDoubleTensor
*
affineBias
,
THDoubleTensor
*
d_affineBias
,
THDoubleTensor
*
d_affineBias
,
THDoubleTensor
*
convWeight
,
THDoubleTensor
*
convWeight
,
THDoubleTensor
*
d_convWeight
,
_Bool
additiveGrad
);
THDoubleTensor
*
d_convWeight
,
_Bool
additiveGrad
);
// BatchwiseMultiplicativeDropout
// BatchwiseMultiplicativeDropout
void
scn_cpu_double_BatchwiseMultiplicativeDropout_updateOutput
(
void
scn_cpu_double_BatchwiseMultiplicativeDropout_updateOutput
(
...
@@ -315,33 +256,29 @@ void scn_cpu_double_BatchwiseMultiplicativeDropout_updateGradInput(
...
@@ -315,33 +256,29 @@ void scn_cpu_double_BatchwiseMultiplicativeDropout_updateGradInput(
// BatchNormalization
// BatchNormalization
void
scn_cpu_double_BatchNormalization_updateOutput
(
void
scn_cpu_double_BatchNormalization_updateOutput
(
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
saveMean
,
THDoubleTensor
*
saveInvStd
,
THDoubleTensor
*
saveMean
,
THDoubleTensor
*
saveInvStd
,
THDoubleTensor
*
runningMean
,
THDoubleTensor
*
runningMean
,
THDoubleTensor
*
runningVar
,
THDoubleTensor
*
runningVar
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
double
eps
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
double
eps
,
double
momentum
,
double
momentum
,
_Bool
train
,
double
leakiness
);
_Bool
train
,
double
leakiness
);
void
scn_cpu_double_BatchNormalization_backward
(
void
scn_cpu_double_BatchNormalization_backward
(
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
saveMean
,
THDoubleTensor
*
saveMean
,
THDoubleTensor
*
saveInvStd
,
THDoubleTensor
*
saveInvStd
,
THDoubleTensor
*
runningMean
,
THDoubleTensor
*
runningVar
,
THDoubleTensor
*
runningMean
,
THDoubleTensor
*
runningVar
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
THDoubleTensor
*
d_weight
,
double
leakiness
);
THDoubleTensor
*
d_bias
,
double
leakiness
);
// BatchNormalizationInTensor
// BatchNormalizationInTensor
void
scn_cpu_double_BatchNormalizationInTensor_updateOutput
(
void
scn_cpu_double_BatchNormalizationInTensor_updateOutput
(
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
saveMean
,
THDoubleTensor
*
saveInvStd
,
THDoubleTensor
*
saveMean
,
THDoubleTensor
*
saveInvStd
,
THDoubleTensor
*
runningMean
,
THDoubleTensor
*
runningMean
,
THDoubleTensor
*
runningVar
,
THDoubleTensor
*
runningVar
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
double
eps
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
double
eps
,
double
momentum
,
double
momentum
,
_Bool
train
,
double
leakiness
);
_Bool
train
,
double
leakiness
);
// LeakyReLU
// LeakyReLU
void
scn_cpu_double_LeakyReLU_updateOutput
(
THDoubleTensor
*
input_features
,
void
scn_cpu_double_LeakyReLU_updateOutput
(
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
n
,
long
n
,
float
alpha
);
float
alpha
);
void
scn_cpu_double_LeakyReLU_updateGradInput
(
THDoubleTensor
*
input_features
,
void
scn_cpu_double_LeakyReLU_updateGradInput
(
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
d_output_features
,
long
n
,
float
alpha
);
long
n
,
float
alpha
);
// NetworkInNetwork
// NetworkInNetwork
double
scn_cpu_double_NetworkInNetwork_updateOutput
(
double
scn_cpu_double_NetworkInNetwork_updateOutput
(
...
@@ -353,66 +290,69 @@ void scn_cpu_double_NetworkInNetwork_updateGradInput(
...
@@ -353,66 +290,69 @@ void scn_cpu_double_NetworkInNetwork_updateGradInput(
void
scn_cpu_double_NetworkInNetwork_accGradParameters
(
void
scn_cpu_double_NetworkInNetwork_accGradParameters
(
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
);
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
);
// ActivePooling
// ActivePooling
void
scn_cpu_float1ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_cpu_float1ActivePooling_updateOutput
(
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_float1ActivePooling_updateGradInput
(
void
scn_cpu_float1ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_float1AveragePooling_updateOutput
(
void
scn_cpu_float1AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float1AveragePooling_updateGradInput
(
void
scn_cpu_float1AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_float1Convolution_updateOutput
(
double
scn_cpu_float1Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float1Convolution_backward
(
void
scn_cpu_float1Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_float1Deconvolution_updateOutput
(
double
scn_cpu_float1Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float1Deconvolution_backward
(
void
scn_cpu_float1Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_float1MaxPooling_updateOutput
(
void
scn_cpu_float1MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float1MaxPooling_updateGradInput
(
void
scn_cpu_float1MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
output_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_float1SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_cpu_float1SparseToDense_updateOutput
(
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float1SparseToDense_updateGradInput
(
void
scn_cpu_float1SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
...
@@ -420,75 +360,76 @@ void scn_cpu_float1SparseToDense_updateGradInput(
...
@@ -420,75 +360,76 @@ void scn_cpu_float1SparseToDense_updateGradInput(
double
scn_cpu_float1ValidConvolution_updateOutput
(
double
scn_cpu_float1ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
long
filterVolume
,
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float1ValidConvolution_backward
(
void
scn_cpu_float1ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_float2ActivePooling_updateOutput
(
void
scn_cpu_float2ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_float2ActivePooling_updateGradInput
(
void
scn_cpu_float2ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_float2AveragePooling_updateOutput
(
void
scn_cpu_float2AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float2AveragePooling_updateGradInput
(
void
scn_cpu_float2AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_float2Convolution_updateOutput
(
double
scn_cpu_float2Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float2Convolution_backward
(
void
scn_cpu_float2Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_float2Deconvolution_updateOutput
(
double
scn_cpu_float2Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float2Deconvolution_backward
(
void
scn_cpu_float2Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_float2MaxPooling_updateOutput
(
void
scn_cpu_float2MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float2MaxPooling_updateGradInput
(
void
scn_cpu_float2MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
output_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_float2SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_cpu_float2SparseToDense_updateOutput
(
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float2SparseToDense_updateGradInput
(
void
scn_cpu_float2SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
...
@@ -496,75 +437,76 @@ void scn_cpu_float2SparseToDense_updateGradInput(
...
@@ -496,75 +437,76 @@ void scn_cpu_float2SparseToDense_updateGradInput(
double
scn_cpu_float2ValidConvolution_updateOutput
(
double
scn_cpu_float2ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
long
filterVolume
,
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float2ValidConvolution_backward
(
void
scn_cpu_float2ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_float3ActivePooling_updateOutput
(
void
scn_cpu_float3ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_float3ActivePooling_updateGradInput
(
void
scn_cpu_float3ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_float3AveragePooling_updateOutput
(
void
scn_cpu_float3AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float3AveragePooling_updateGradInput
(
void
scn_cpu_float3AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_float3Convolution_updateOutput
(
double
scn_cpu_float3Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float3Convolution_backward
(
void
scn_cpu_float3Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_float3Deconvolution_updateOutput
(
double
scn_cpu_float3Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float3Deconvolution_backward
(
void
scn_cpu_float3Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_float3MaxPooling_updateOutput
(
void
scn_cpu_float3MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float3MaxPooling_updateGradInput
(
void
scn_cpu_float3MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
output_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_float3SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_cpu_float3SparseToDense_updateOutput
(
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float3SparseToDense_updateGradInput
(
void
scn_cpu_float3SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
...
@@ -572,75 +514,76 @@ void scn_cpu_float3SparseToDense_updateGradInput(
...
@@ -572,75 +514,76 @@ void scn_cpu_float3SparseToDense_updateGradInput(
double
scn_cpu_float3ValidConvolution_updateOutput
(
double
scn_cpu_float3ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
long
filterVolume
,
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float3ValidConvolution_backward
(
void
scn_cpu_float3ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_float4ActivePooling_updateOutput
(
void
scn_cpu_float4ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_float4ActivePooling_updateGradInput
(
void
scn_cpu_float4ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_float4AveragePooling_updateOutput
(
void
scn_cpu_float4AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float4AveragePooling_updateGradInput
(
void
scn_cpu_float4AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_float4Convolution_updateOutput
(
double
scn_cpu_float4Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float4Convolution_backward
(
void
scn_cpu_float4Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_float4Deconvolution_updateOutput
(
double
scn_cpu_float4Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float4Deconvolution_backward
(
void
scn_cpu_float4Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_float4MaxPooling_updateOutput
(
void
scn_cpu_float4MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float4MaxPooling_updateGradInput
(
void
scn_cpu_float4MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
output_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_float4SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_cpu_float4SparseToDense_updateOutput
(
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float4SparseToDense_updateGradInput
(
void
scn_cpu_float4SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
...
@@ -648,75 +591,76 @@ void scn_cpu_float4SparseToDense_updateGradInput(
...
@@ -648,75 +591,76 @@ void scn_cpu_float4SparseToDense_updateGradInput(
double
scn_cpu_float4ValidConvolution_updateOutput
(
double
scn_cpu_float4ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
long
filterVolume
,
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float4ValidConvolution_backward
(
void
scn_cpu_float4ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_float5ActivePooling_updateOutput
(
void
scn_cpu_float5ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_float5ActivePooling_updateGradInput
(
void
scn_cpu_float5ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_float5AveragePooling_updateOutput
(
void
scn_cpu_float5AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float5AveragePooling_updateGradInput
(
void
scn_cpu_float5AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_float5Convolution_updateOutput
(
double
scn_cpu_float5Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float5Convolution_backward
(
void
scn_cpu_float5Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_float5Deconvolution_updateOutput
(
double
scn_cpu_float5Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float5Deconvolution_backward
(
void
scn_cpu_float5Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_float5MaxPooling_updateOutput
(
void
scn_cpu_float5MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float5MaxPooling_updateGradInput
(
void
scn_cpu_float5MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
output_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_float5SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_cpu_float5SparseToDense_updateOutput
(
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float5SparseToDense_updateGradInput
(
void
scn_cpu_float5SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
...
@@ -724,75 +668,76 @@ void scn_cpu_float5SparseToDense_updateGradInput(
...
@@ -724,75 +668,76 @@ void scn_cpu_float5SparseToDense_updateGradInput(
double
scn_cpu_float5ValidConvolution_updateOutput
(
double
scn_cpu_float5ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
long
filterVolume
,
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float5ValidConvolution_backward
(
void
scn_cpu_float5ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_float6ActivePooling_updateOutput
(
void
scn_cpu_float6ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_float6ActivePooling_updateGradInput
(
void
scn_cpu_float6ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_float6AveragePooling_updateOutput
(
void
scn_cpu_float6AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float6AveragePooling_updateGradInput
(
void
scn_cpu_float6AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_float6Convolution_updateOutput
(
double
scn_cpu_float6Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float6Convolution_backward
(
void
scn_cpu_float6Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_float6Deconvolution_updateOutput
(
double
scn_cpu_float6Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float6Deconvolution_backward
(
void
scn_cpu_float6Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_float6MaxPooling_updateOutput
(
void
scn_cpu_float6MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float6MaxPooling_updateGradInput
(
void
scn_cpu_float6MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
output_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_float6SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_cpu_float6SparseToDense_updateOutput
(
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float6SparseToDense_updateGradInput
(
void
scn_cpu_float6SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
...
@@ -800,75 +745,76 @@ void scn_cpu_float6SparseToDense_updateGradInput(
...
@@ -800,75 +745,76 @@ void scn_cpu_float6SparseToDense_updateGradInput(
double
scn_cpu_float6ValidConvolution_updateOutput
(
double
scn_cpu_float6ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
long
filterVolume
,
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float6ValidConvolution_backward
(
void
scn_cpu_float6ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_float7ActivePooling_updateOutput
(
void
scn_cpu_float7ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_float7ActivePooling_updateGradInput
(
void
scn_cpu_float7ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_float7AveragePooling_updateOutput
(
void
scn_cpu_float7AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float7AveragePooling_updateGradInput
(
void
scn_cpu_float7AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_float7Convolution_updateOutput
(
double
scn_cpu_float7Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float7Convolution_backward
(
void
scn_cpu_float7Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_float7Deconvolution_updateOutput
(
double
scn_cpu_float7Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float7Deconvolution_backward
(
void
scn_cpu_float7Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_float7MaxPooling_updateOutput
(
void
scn_cpu_float7MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float7MaxPooling_updateGradInput
(
void
scn_cpu_float7MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
output_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_float7SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_cpu_float7SparseToDense_updateOutput
(
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float7SparseToDense_updateGradInput
(
void
scn_cpu_float7SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
...
@@ -876,75 +822,76 @@ void scn_cpu_float7SparseToDense_updateGradInput(
...
@@ -876,75 +822,76 @@ void scn_cpu_float7SparseToDense_updateGradInput(
double
scn_cpu_float7ValidConvolution_updateOutput
(
double
scn_cpu_float7ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
long
filterVolume
,
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float7ValidConvolution_backward
(
void
scn_cpu_float7ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_float8ActivePooling_updateOutput
(
void
scn_cpu_float8ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_float8ActivePooling_updateGradInput
(
void
scn_cpu_float8ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_float8AveragePooling_updateOutput
(
void
scn_cpu_float8AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float8AveragePooling_updateGradInput
(
void
scn_cpu_float8AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_float8Convolution_updateOutput
(
double
scn_cpu_float8Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float8Convolution_backward
(
void
scn_cpu_float8Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_float8Deconvolution_updateOutput
(
double
scn_cpu_float8Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float8Deconvolution_backward
(
void
scn_cpu_float8Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_float8MaxPooling_updateOutput
(
void
scn_cpu_float8MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float8MaxPooling_updateGradInput
(
void
scn_cpu_float8MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
output_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_float8SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_cpu_float8SparseToDense_updateOutput
(
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float8SparseToDense_updateGradInput
(
void
scn_cpu_float8SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
...
@@ -952,75 +899,76 @@ void scn_cpu_float8SparseToDense_updateGradInput(
...
@@ -952,75 +899,76 @@ void scn_cpu_float8SparseToDense_updateGradInput(
double
scn_cpu_float8ValidConvolution_updateOutput
(
double
scn_cpu_float8ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
long
filterVolume
,
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float8ValidConvolution_backward
(
void
scn_cpu_float8ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_float9ActivePooling_updateOutput
(
void
scn_cpu_float9ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_float9ActivePooling_updateGradInput
(
void
scn_cpu_float9ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_float9AveragePooling_updateOutput
(
void
scn_cpu_float9AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float9AveragePooling_updateGradInput
(
void
scn_cpu_float9AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_float9Convolution_updateOutput
(
double
scn_cpu_float9Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float9Convolution_backward
(
void
scn_cpu_float9Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_float9Deconvolution_updateOutput
(
double
scn_cpu_float9Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float9Deconvolution_backward
(
void
scn_cpu_float9Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_float9MaxPooling_updateOutput
(
void
scn_cpu_float9MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float9MaxPooling_updateGradInput
(
void
scn_cpu_float9MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
output_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_float9SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_cpu_float9SparseToDense_updateOutput
(
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float9SparseToDense_updateGradInput
(
void
scn_cpu_float9SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
...
@@ -1028,75 +976,76 @@ void scn_cpu_float9SparseToDense_updateGradInput(
...
@@ -1028,75 +976,76 @@ void scn_cpu_float9SparseToDense_updateGradInput(
double
scn_cpu_float9ValidConvolution_updateOutput
(
double
scn_cpu_float9ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
long
filterVolume
,
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float9ValidConvolution_backward
(
void
scn_cpu_float9ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_float10ActivePooling_updateOutput
(
void
scn_cpu_float10ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_float10ActivePooling_updateGradInput
(
void
scn_cpu_float10ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_float10AveragePooling_updateOutput
(
void
scn_cpu_float10AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float10AveragePooling_updateGradInput
(
void
scn_cpu_float10AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_float10Convolution_updateOutput
(
double
scn_cpu_float10Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float10Convolution_backward
(
void
scn_cpu_float10Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_float10Deconvolution_updateOutput
(
double
scn_cpu_float10Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_float10Deconvolution_backward
(
void
scn_cpu_float10Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THFloatTensor
*
d_
input_features
,
THFloatTensor
*
d_
out
put_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_
in
put_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_float10MaxPooling_updateOutput
(
void
scn_cpu_float10MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_float10MaxPooling_updateGradInput
(
void
scn_cpu_float10MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THFloatTensor
*
output_features
,
THFloatTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_float10SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
scn_cpu_float10SparseToDense_updateOutput
(
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
void
*
rulesBuffer
);
THFloatTensor
*
output_features
,
void
*
rulesBuffer
);
void
scn_cpu_float10SparseToDense_updateGradInput
(
void
scn_cpu_float10SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
...
@@ -1104,75 +1053,76 @@ void scn_cpu_float10SparseToDense_updateGradInput(
...
@@ -1104,75 +1053,76 @@ void scn_cpu_float10SparseToDense_updateGradInput(
double
scn_cpu_float10ValidConvolution_updateOutput
(
double
scn_cpu_float10ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
weight
,
THFloatTensor
*
bias
,
long
filterVolume
,
THFloatTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_float10ValidConvolution_backward
(
void
scn_cpu_float10ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
input_features
,
THFloatTensor
*
d_input_features
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_output_features
,
THFloatTensor
*
weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_weight
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
THFloatTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_double1ActivePooling_updateOutput
(
void
scn_cpu_double1ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_double1ActivePooling_updateGradInput
(
void
scn_cpu_double1ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_double1AveragePooling_updateOutput
(
void
scn_cpu_double1AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double1AveragePooling_updateGradInput
(
void
scn_cpu_double1AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_double1Convolution_updateOutput
(
double
scn_cpu_double1Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double1Convolution_backward
(
void
scn_cpu_double1Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_double1Deconvolution_updateOutput
(
double
scn_cpu_double1Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double1Deconvolution_backward
(
void
scn_cpu_double1Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_double1MaxPooling_updateOutput
(
void
scn_cpu_double1MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double1MaxPooling_updateGradInput
(
void
scn_cpu_double1MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_double1SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
scn_cpu_double1SparseToDense_updateOutput
(
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
void
scn_cpu_double1SparseToDense_updateGradInput
(
void
scn_cpu_double1SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
...
@@ -1180,75 +1130,76 @@ void scn_cpu_double1SparseToDense_updateGradInput(
...
@@ -1180,75 +1130,76 @@ void scn_cpu_double1SparseToDense_updateGradInput(
double
scn_cpu_double1ValidConvolution_updateOutput
(
double
scn_cpu_double1ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_double1ValidConvolution_backward
(
void
scn_cpu_double1ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_double2ActivePooling_updateOutput
(
void
scn_cpu_double2ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_double2ActivePooling_updateGradInput
(
void
scn_cpu_double2ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_double2AveragePooling_updateOutput
(
void
scn_cpu_double2AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double2AveragePooling_updateGradInput
(
void
scn_cpu_double2AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_double2Convolution_updateOutput
(
double
scn_cpu_double2Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double2Convolution_backward
(
void
scn_cpu_double2Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_double2Deconvolution_updateOutput
(
double
scn_cpu_double2Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double2Deconvolution_backward
(
void
scn_cpu_double2Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_double2MaxPooling_updateOutput
(
void
scn_cpu_double2MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double2MaxPooling_updateGradInput
(
void
scn_cpu_double2MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_double2SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
scn_cpu_double2SparseToDense_updateOutput
(
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
void
scn_cpu_double2SparseToDense_updateGradInput
(
void
scn_cpu_double2SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
...
@@ -1256,75 +1207,76 @@ void scn_cpu_double2SparseToDense_updateGradInput(
...
@@ -1256,75 +1207,76 @@ void scn_cpu_double2SparseToDense_updateGradInput(
double
scn_cpu_double2ValidConvolution_updateOutput
(
double
scn_cpu_double2ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_double2ValidConvolution_backward
(
void
scn_cpu_double2ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_double3ActivePooling_updateOutput
(
void
scn_cpu_double3ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_double3ActivePooling_updateGradInput
(
void
scn_cpu_double3ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_double3AveragePooling_updateOutput
(
void
scn_cpu_double3AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double3AveragePooling_updateGradInput
(
void
scn_cpu_double3AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_double3Convolution_updateOutput
(
double
scn_cpu_double3Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double3Convolution_backward
(
void
scn_cpu_double3Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_double3Deconvolution_updateOutput
(
double
scn_cpu_double3Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double3Deconvolution_backward
(
void
scn_cpu_double3Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_double3MaxPooling_updateOutput
(
void
scn_cpu_double3MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double3MaxPooling_updateGradInput
(
void
scn_cpu_double3MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_double3SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
scn_cpu_double3SparseToDense_updateOutput
(
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
void
scn_cpu_double3SparseToDense_updateGradInput
(
void
scn_cpu_double3SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
...
@@ -1332,75 +1284,76 @@ void scn_cpu_double3SparseToDense_updateGradInput(
...
@@ -1332,75 +1284,76 @@ void scn_cpu_double3SparseToDense_updateGradInput(
double
scn_cpu_double3ValidConvolution_updateOutput
(
double
scn_cpu_double3ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_double3ValidConvolution_backward
(
void
scn_cpu_double3ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_double4ActivePooling_updateOutput
(
void
scn_cpu_double4ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_double4ActivePooling_updateGradInput
(
void
scn_cpu_double4ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_double4AveragePooling_updateOutput
(
void
scn_cpu_double4AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double4AveragePooling_updateGradInput
(
void
scn_cpu_double4AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_double4Convolution_updateOutput
(
double
scn_cpu_double4Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double4Convolution_backward
(
void
scn_cpu_double4Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_double4Deconvolution_updateOutput
(
double
scn_cpu_double4Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double4Deconvolution_backward
(
void
scn_cpu_double4Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_double4MaxPooling_updateOutput
(
void
scn_cpu_double4MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double4MaxPooling_updateGradInput
(
void
scn_cpu_double4MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_double4SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
scn_cpu_double4SparseToDense_updateOutput
(
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
void
scn_cpu_double4SparseToDense_updateGradInput
(
void
scn_cpu_double4SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
...
@@ -1408,75 +1361,76 @@ void scn_cpu_double4SparseToDense_updateGradInput(
...
@@ -1408,75 +1361,76 @@ void scn_cpu_double4SparseToDense_updateGradInput(
double
scn_cpu_double4ValidConvolution_updateOutput
(
double
scn_cpu_double4ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_double4ValidConvolution_backward
(
void
scn_cpu_double4ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_double5ActivePooling_updateOutput
(
void
scn_cpu_double5ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_double5ActivePooling_updateGradInput
(
void
scn_cpu_double5ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_double5AveragePooling_updateOutput
(
void
scn_cpu_double5AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double5AveragePooling_updateGradInput
(
void
scn_cpu_double5AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_double5Convolution_updateOutput
(
double
scn_cpu_double5Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double5Convolution_backward
(
void
scn_cpu_double5Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_double5Deconvolution_updateOutput
(
double
scn_cpu_double5Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double5Deconvolution_backward
(
void
scn_cpu_double5Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_double5MaxPooling_updateOutput
(
void
scn_cpu_double5MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double5MaxPooling_updateGradInput
(
void
scn_cpu_double5MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_double5SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
scn_cpu_double5SparseToDense_updateOutput
(
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
void
scn_cpu_double5SparseToDense_updateGradInput
(
void
scn_cpu_double5SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
...
@@ -1484,75 +1438,76 @@ void scn_cpu_double5SparseToDense_updateGradInput(
...
@@ -1484,75 +1438,76 @@ void scn_cpu_double5SparseToDense_updateGradInput(
double
scn_cpu_double5ValidConvolution_updateOutput
(
double
scn_cpu_double5ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_double5ValidConvolution_backward
(
void
scn_cpu_double5ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_double6ActivePooling_updateOutput
(
void
scn_cpu_double6ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_double6ActivePooling_updateGradInput
(
void
scn_cpu_double6ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_double6AveragePooling_updateOutput
(
void
scn_cpu_double6AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double6AveragePooling_updateGradInput
(
void
scn_cpu_double6AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_double6Convolution_updateOutput
(
double
scn_cpu_double6Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double6Convolution_backward
(
void
scn_cpu_double6Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_double6Deconvolution_updateOutput
(
double
scn_cpu_double6Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double6Deconvolution_backward
(
void
scn_cpu_double6Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_double6MaxPooling_updateOutput
(
void
scn_cpu_double6MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double6MaxPooling_updateGradInput
(
void
scn_cpu_double6MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_double6SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
scn_cpu_double6SparseToDense_updateOutput
(
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
void
scn_cpu_double6SparseToDense_updateGradInput
(
void
scn_cpu_double6SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
...
@@ -1560,75 +1515,76 @@ void scn_cpu_double6SparseToDense_updateGradInput(
...
@@ -1560,75 +1515,76 @@ void scn_cpu_double6SparseToDense_updateGradInput(
double
scn_cpu_double6ValidConvolution_updateOutput
(
double
scn_cpu_double6ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_double6ValidConvolution_backward
(
void
scn_cpu_double6ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_double7ActivePooling_updateOutput
(
void
scn_cpu_double7ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_double7ActivePooling_updateGradInput
(
void
scn_cpu_double7ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_double7AveragePooling_updateOutput
(
void
scn_cpu_double7AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double7AveragePooling_updateGradInput
(
void
scn_cpu_double7AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_double7Convolution_updateOutput
(
double
scn_cpu_double7Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double7Convolution_backward
(
void
scn_cpu_double7Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_double7Deconvolution_updateOutput
(
double
scn_cpu_double7Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double7Deconvolution_backward
(
void
scn_cpu_double7Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_double7MaxPooling_updateOutput
(
void
scn_cpu_double7MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double7MaxPooling_updateGradInput
(
void
scn_cpu_double7MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_double7SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
scn_cpu_double7SparseToDense_updateOutput
(
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
void
scn_cpu_double7SparseToDense_updateGradInput
(
void
scn_cpu_double7SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
...
@@ -1636,75 +1592,76 @@ void scn_cpu_double7SparseToDense_updateGradInput(
...
@@ -1636,75 +1592,76 @@ void scn_cpu_double7SparseToDense_updateGradInput(
double
scn_cpu_double7ValidConvolution_updateOutput
(
double
scn_cpu_double7ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_double7ValidConvolution_backward
(
void
scn_cpu_double7ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_double8ActivePooling_updateOutput
(
void
scn_cpu_double8ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_double8ActivePooling_updateGradInput
(
void
scn_cpu_double8ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_double8AveragePooling_updateOutput
(
void
scn_cpu_double8AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double8AveragePooling_updateGradInput
(
void
scn_cpu_double8AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_double8Convolution_updateOutput
(
double
scn_cpu_double8Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double8Convolution_backward
(
void
scn_cpu_double8Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_double8Deconvolution_updateOutput
(
double
scn_cpu_double8Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double8Deconvolution_backward
(
void
scn_cpu_double8Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_double8MaxPooling_updateOutput
(
void
scn_cpu_double8MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double8MaxPooling_updateGradInput
(
void
scn_cpu_double8MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_double8SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
scn_cpu_double8SparseToDense_updateOutput
(
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
void
scn_cpu_double8SparseToDense_updateGradInput
(
void
scn_cpu_double8SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
...
@@ -1712,75 +1669,76 @@ void scn_cpu_double8SparseToDense_updateGradInput(
...
@@ -1712,75 +1669,76 @@ void scn_cpu_double8SparseToDense_updateGradInput(
double
scn_cpu_double8ValidConvolution_updateOutput
(
double
scn_cpu_double8ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_double8ValidConvolution_backward
(
void
scn_cpu_double8ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_double9ActivePooling_updateOutput
(
void
scn_cpu_double9ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_double9ActivePooling_updateGradInput
(
void
scn_cpu_double9ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_double9AveragePooling_updateOutput
(
void
scn_cpu_double9AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double9AveragePooling_updateGradInput
(
void
scn_cpu_double9AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_double9Convolution_updateOutput
(
double
scn_cpu_double9Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double9Convolution_backward
(
void
scn_cpu_double9Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_double9Deconvolution_updateOutput
(
double
scn_cpu_double9Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double9Deconvolution_backward
(
void
scn_cpu_double9Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_double9MaxPooling_updateOutput
(
void
scn_cpu_double9MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double9MaxPooling_updateGradInput
(
void
scn_cpu_double9MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_double9SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
scn_cpu_double9SparseToDense_updateOutput
(
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
void
scn_cpu_double9SparseToDense_updateGradInput
(
void
scn_cpu_double9SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
...
@@ -1788,75 +1746,76 @@ void scn_cpu_double9SparseToDense_updateGradInput(
...
@@ -1788,75 +1746,76 @@ void scn_cpu_double9SparseToDense_updateGradInput(
double
scn_cpu_double9ValidConvolution_updateOutput
(
double
scn_cpu_double9ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_double9ValidConvolution_backward
(
void
scn_cpu_double9ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_cpu_double10ActivePooling_updateOutput
(
void
scn_cpu_double10ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
,
_Bool
average
);
void
scn_cpu_double10ActivePooling_updateGradInput
(
void
scn_cpu_double10ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
void
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_cpu_double10AveragePooling_updateOutput
(
void
scn_cpu_double10AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double10AveragePooling_updateGradInput
(
void
scn_cpu_double10AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
double
scn_cpu_double10Convolution_updateOutput
(
double
scn_cpu_double10Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double10Convolution_backward
(
void
scn_cpu_double10Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
double
scn_cpu_double10Deconvolution_updateOutput
(
double
scn_cpu_double10Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
scn_cpu_double10Deconvolution_backward
(
void
scn_cpu_double10Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THDoubleTensor
*
d_
input_features
,
THDoubleTensor
*
d_
out
put_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_
in
put_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
long
filterVolume
,
void
*
rulesBuffer
);
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_cpu_double10MaxPooling_updateOutput
(
void
scn_cpu_double10MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
void
scn_cpu_double10MaxPooling_updateGradInput
(
void
scn_cpu_double10MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
THDoubleTensor
*
d_output_features
,
long
nFeaturesToDrop
,
void
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_cpu_double10SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
scn_cpu_double10SparseToDense_updateOutput
(
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
THDoubleTensor
*
output_features
,
void
*
rulesBuffer
);
void
scn_cpu_double10SparseToDense_updateGradInput
(
void
scn_cpu_double10SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
...
@@ -1864,12 +1823,10 @@ void scn_cpu_double10SparseToDense_updateGradInput(
...
@@ -1864,12 +1823,10 @@ void scn_cpu_double10SparseToDense_updateGradInput(
double
scn_cpu_double10ValidConvolution_updateOutput
(
double
scn_cpu_double10ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
bias
,
long
filterVolume
,
THDoubleTensor
*
bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
void
scn_cpu_double10ValidConvolution_backward
(
void
scn_cpu_double10ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
input_features
,
THDoubleTensor
*
d_input_features
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_output_features
,
THDoubleTensor
*
weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_weight
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
THDoubleTensor
*
d_bias
,
long
filterVolume
,
void
*
rulesBuffer
);
void
*
rulesBuffer
);
PyTorch/sparseconvnet/SCN/header_gpu.h
View file @
6de372c3
...
@@ -6,14 +6,12 @@
...
@@ -6,14 +6,12 @@
void
scn_gpu_float_AffineReluTrivialConvolution_updateOutput
(
void
scn_gpu_float_AffineReluTrivialConvolution_updateOutput
(
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
affineWeight
,
THCudaTensor
*
affineBias
,
THCudaTensor
*
affineWeight
,
THCudaTensor
*
affineBias
,
THCudaTensor
*
convWeight
);
THCudaTensor
*
convWeight
);
void
scn_gpu_float_AffineReluTrivialConvolution_backward
(
void
scn_gpu_float_AffineReluTrivialConvolution_backward
(
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
affineWeight
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
affineWeight
,
THCudaTensor
*
d_affineWeight
,
THCudaTensor
*
affineBias
,
THCudaTensor
*
d_affineWeight
,
THCudaTensor
*
affineBias
,
THCudaTensor
*
d_affineBias
,
THCudaTensor
*
d_affineBias
,
THCudaTensor
*
convWeight
,
THCudaTensor
*
convWeight
,
THCudaTensor
*
d_convWeight
,
_Bool
additiveGrad
);
THCudaTensor
*
d_convWeight
,
_Bool
additiveGrad
);
// BatchwiseMultiplicativeDropout
// BatchwiseMultiplicativeDropout
void
scn_gpu_float_BatchwiseMultiplicativeDropout_updateOutput
(
void
scn_gpu_float_BatchwiseMultiplicativeDropout_updateOutput
(
...
@@ -29,29 +27,28 @@ void scn_gpu_float_BatchwiseMultiplicativeDropout_updateGradInput(
...
@@ -29,29 +27,28 @@ void scn_gpu_float_BatchwiseMultiplicativeDropout_updateGradInput(
void
scn_gpu_float_BatchNormalization_updateOutput
(
void
scn_gpu_float_BatchNormalization_updateOutput
(
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
saveMean
,
THCudaTensor
*
saveInvStd
,
THCudaTensor
*
runningMean
,
THCudaTensor
*
saveMean
,
THCudaTensor
*
saveInvStd
,
THCudaTensor
*
runningMean
,
THCudaTensor
*
runningVar
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
runningVar
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
float
eps
,
float
eps
,
float
momentum
,
_Bool
train
,
float
leakiness
);
float
momentum
,
_Bool
train
,
float
leakiness
);
void
scn_gpu_float_BatchNormalization_backward
(
void
scn_gpu_float_BatchNormalization_backward
(
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
saveMean
,
THCudaTensor
*
saveMean
,
THCudaTensor
*
saveInvStd
,
THCudaTensor
*
runningMean
,
THCudaTensor
*
saveInvStd
,
THCudaTensor
*
runningMean
,
THCudaTensor
*
runningVar
,
THCudaTensor
*
runningVar
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
d_
weight
,
THCudaTensor
*
d_
bias
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
float
leakiness
);
float
leakiness
);
// BatchNormalizationInTensor
// BatchNormalizationInTensor
void
scn_gpu_float_BatchNormalizationInTensor_updateOutput
(
void
scn_gpu_float_BatchNormalizationInTensor_updateOutput
(
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
saveMean
,
THCudaTensor
*
saveInvStd
,
THCudaTensor
*
runningMean
,
THCudaTensor
*
saveMean
,
THCudaTensor
*
saveInvStd
,
THCudaTensor
*
runningMean
,
THCudaTensor
*
runningVar
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
runningVar
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
float
eps
,
float
eps
,
float
momentum
,
_Bool
train
,
float
leakiness
);
float
momentum
,
_Bool
train
,
float
leakiness
);
// LeakyReLU
// LeakyReLU
void
scn_gpu_float_LeakyReLU_updateOutput
(
THCudaTensor
*
input_features
,
void
scn_gpu_float_LeakyReLU_updateOutput
(
THCudaTensor
*
output_features
,
long
n
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
n
,
float
alpha
);
float
alpha
);
void
scn_gpu_float_LeakyReLU_updateGradInput
(
THCudaTensor
*
input_features
,
void
scn_gpu_float_LeakyReLU_updateGradInput
(
THCudaTensor
*
d_input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
d_output_features
,
long
n
,
float
alpha
);
long
n
,
float
alpha
);
// NetworkInNetwork
// NetworkInNetwork
double
scn_gpu_float_NetworkInNetwork_updateOutput
(
double
scn_gpu_float_NetworkInNetwork_updateOutput
(
...
@@ -63,71 +60,69 @@ void scn_gpu_float_NetworkInNetwork_updateGradInput(
...
@@ -63,71 +60,69 @@ void scn_gpu_float_NetworkInNetwork_updateGradInput(
void
scn_gpu_float_NetworkInNetwork_accGradParameters
(
void
scn_gpu_float_NetworkInNetwork_accGradParameters
(
THCudaTensor
*
input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
);
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
);
// ActivePooling
void
scn_gpu_float1ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_gpu_float1ActivePooling_updateOutput
(
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
void
scn_gpu_float1ActivePooling_updateGradInput
(
void
scn_gpu_float1ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
_Bool
average
);
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_gpu_float1AveragePooling_updateOutput
(
void
scn_gpu_float1AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float1AveragePooling_updateGradInput
(
void
scn_gpu_float1AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float1Convolution_updateOutput
(
double
scn_gpu_float1Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float1Convolution_backward
(
void
scn_gpu_float1Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float1Deconvolution_updateOutput
(
double
scn_gpu_float1Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float1Deconvolution_backward
(
void
scn_gpu_float1Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_gpu_float1MaxPooling_updateOutput
(
void
scn_gpu_float1MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float1MaxPooling_updateGradInput
(
void
scn_gpu_float1MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolS
tride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolS
ize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_in
put_features
,
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
output_features
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
);
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_gpu_float1SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_gpu_float1SparseToDense_updateOutput
(
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float1SparseToDense_updateGradInput
(
void
scn_gpu_float1SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
...
@@ -135,80 +130,76 @@ void scn_gpu_float1SparseToDense_updateGradInput(
...
@@ -135,80 +130,76 @@ void scn_gpu_float1SparseToDense_updateGradInput(
double
scn_gpu_float1ValidConvolution_updateOutput
(
double
scn_gpu_float1ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float1ValidConvolution_backward
(
void
scn_gpu_float1ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_gpu_float2ActivePooling_updateOutput
(
void
scn_gpu_float2ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
void
scn_gpu_float2ActivePooling_updateGradInput
(
void
scn_gpu_float2ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
_Bool
average
);
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_gpu_float2AveragePooling_updateOutput
(
void
scn_gpu_float2AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float2AveragePooling_updateGradInput
(
void
scn_gpu_float2AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float2Convolution_updateOutput
(
double
scn_gpu_float2Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float2Convolution_backward
(
void
scn_gpu_float2Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float2Deconvolution_updateOutput
(
double
scn_gpu_float2Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float2Deconvolution_backward
(
void
scn_gpu_float2Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_gpu_float2MaxPooling_updateOutput
(
void
scn_gpu_float2MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float2MaxPooling_updateGradInput
(
void
scn_gpu_float2MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolS
tride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolS
ize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_in
put_features
,
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
output_features
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
);
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_gpu_float2SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_gpu_float2SparseToDense_updateOutput
(
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float2SparseToDense_updateGradInput
(
void
scn_gpu_float2SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
...
@@ -216,80 +207,76 @@ void scn_gpu_float2SparseToDense_updateGradInput(
...
@@ -216,80 +207,76 @@ void scn_gpu_float2SparseToDense_updateGradInput(
double
scn_gpu_float2ValidConvolution_updateOutput
(
double
scn_gpu_float2ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float2ValidConvolution_backward
(
void
scn_gpu_float2ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_gpu_float3ActivePooling_updateOutput
(
void
scn_gpu_float3ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
void
scn_gpu_float3ActivePooling_updateGradInput
(
void
scn_gpu_float3ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
_Bool
average
);
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_gpu_float3AveragePooling_updateOutput
(
void
scn_gpu_float3AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float3AveragePooling_updateGradInput
(
void
scn_gpu_float3AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float3Convolution_updateOutput
(
double
scn_gpu_float3Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float3Convolution_backward
(
void
scn_gpu_float3Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float3Deconvolution_updateOutput
(
double
scn_gpu_float3Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float3Deconvolution_backward
(
void
scn_gpu_float3Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_gpu_float3MaxPooling_updateOutput
(
void
scn_gpu_float3MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float3MaxPooling_updateGradInput
(
void
scn_gpu_float3MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolS
tride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolS
ize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_in
put_features
,
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
output_features
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
);
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_gpu_float3SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_gpu_float3SparseToDense_updateOutput
(
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float3SparseToDense_updateGradInput
(
void
scn_gpu_float3SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
...
@@ -297,80 +284,76 @@ void scn_gpu_float3SparseToDense_updateGradInput(
...
@@ -297,80 +284,76 @@ void scn_gpu_float3SparseToDense_updateGradInput(
double
scn_gpu_float3ValidConvolution_updateOutput
(
double
scn_gpu_float3ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float3ValidConvolution_backward
(
void
scn_gpu_float3ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_gpu_float4ActivePooling_updateOutput
(
void
scn_gpu_float4ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
void
scn_gpu_float4ActivePooling_updateGradInput
(
void
scn_gpu_float4ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
_Bool
average
);
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_gpu_float4AveragePooling_updateOutput
(
void
scn_gpu_float4AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float4AveragePooling_updateGradInput
(
void
scn_gpu_float4AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float4Convolution_updateOutput
(
double
scn_gpu_float4Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float4Convolution_backward
(
void
scn_gpu_float4Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float4Deconvolution_updateOutput
(
double
scn_gpu_float4Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float4Deconvolution_backward
(
void
scn_gpu_float4Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_gpu_float4MaxPooling_updateOutput
(
void
scn_gpu_float4MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float4MaxPooling_updateGradInput
(
void
scn_gpu_float4MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolS
tride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolS
ize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_in
put_features
,
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
output_features
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
);
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_gpu_float4SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_gpu_float4SparseToDense_updateOutput
(
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float4SparseToDense_updateGradInput
(
void
scn_gpu_float4SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
...
@@ -378,80 +361,76 @@ void scn_gpu_float4SparseToDense_updateGradInput(
...
@@ -378,80 +361,76 @@ void scn_gpu_float4SparseToDense_updateGradInput(
double
scn_gpu_float4ValidConvolution_updateOutput
(
double
scn_gpu_float4ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float4ValidConvolution_backward
(
void
scn_gpu_float4ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_gpu_float5ActivePooling_updateOutput
(
void
scn_gpu_float5ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
void
scn_gpu_float5ActivePooling_updateGradInput
(
void
scn_gpu_float5ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
_Bool
average
);
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_gpu_float5AveragePooling_updateOutput
(
void
scn_gpu_float5AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float5AveragePooling_updateGradInput
(
void
scn_gpu_float5AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float5Convolution_updateOutput
(
double
scn_gpu_float5Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float5Convolution_backward
(
void
scn_gpu_float5Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float5Deconvolution_updateOutput
(
double
scn_gpu_float5Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float5Deconvolution_backward
(
void
scn_gpu_float5Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_gpu_float5MaxPooling_updateOutput
(
void
scn_gpu_float5MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float5MaxPooling_updateGradInput
(
void
scn_gpu_float5MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolS
tride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolS
ize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_in
put_features
,
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
output_features
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
);
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_gpu_float5SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_gpu_float5SparseToDense_updateOutput
(
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float5SparseToDense_updateGradInput
(
void
scn_gpu_float5SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
...
@@ -459,80 +438,76 @@ void scn_gpu_float5SparseToDense_updateGradInput(
...
@@ -459,80 +438,76 @@ void scn_gpu_float5SparseToDense_updateGradInput(
double
scn_gpu_float5ValidConvolution_updateOutput
(
double
scn_gpu_float5ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float5ValidConvolution_backward
(
void
scn_gpu_float5ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_gpu_float6ActivePooling_updateOutput
(
void
scn_gpu_float6ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
void
scn_gpu_float6ActivePooling_updateGradInput
(
void
scn_gpu_float6ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
_Bool
average
);
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_gpu_float6AveragePooling_updateOutput
(
void
scn_gpu_float6AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float6AveragePooling_updateGradInput
(
void
scn_gpu_float6AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float6Convolution_updateOutput
(
double
scn_gpu_float6Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float6Convolution_backward
(
void
scn_gpu_float6Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float6Deconvolution_updateOutput
(
double
scn_gpu_float6Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float6Deconvolution_backward
(
void
scn_gpu_float6Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_gpu_float6MaxPooling_updateOutput
(
void
scn_gpu_float6MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float6MaxPooling_updateGradInput
(
void
scn_gpu_float6MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolS
tride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolS
ize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_in
put_features
,
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
output_features
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
);
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_gpu_float6SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_gpu_float6SparseToDense_updateOutput
(
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float6SparseToDense_updateGradInput
(
void
scn_gpu_float6SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
...
@@ -540,80 +515,76 @@ void scn_gpu_float6SparseToDense_updateGradInput(
...
@@ -540,80 +515,76 @@ void scn_gpu_float6SparseToDense_updateGradInput(
double
scn_gpu_float6ValidConvolution_updateOutput
(
double
scn_gpu_float6ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float6ValidConvolution_backward
(
void
scn_gpu_float6ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_gpu_float7ActivePooling_updateOutput
(
void
scn_gpu_float7ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
void
scn_gpu_float7ActivePooling_updateGradInput
(
void
scn_gpu_float7ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
_Bool
average
);
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_gpu_float7AveragePooling_updateOutput
(
void
scn_gpu_float7AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float7AveragePooling_updateGradInput
(
void
scn_gpu_float7AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float7Convolution_updateOutput
(
double
scn_gpu_float7Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float7Convolution_backward
(
void
scn_gpu_float7Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float7Deconvolution_updateOutput
(
double
scn_gpu_float7Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float7Deconvolution_backward
(
void
scn_gpu_float7Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_gpu_float7MaxPooling_updateOutput
(
void
scn_gpu_float7MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float7MaxPooling_updateGradInput
(
void
scn_gpu_float7MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolS
tride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolS
ize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_in
put_features
,
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
output_features
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
);
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_gpu_float7SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_gpu_float7SparseToDense_updateOutput
(
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float7SparseToDense_updateGradInput
(
void
scn_gpu_float7SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
...
@@ -621,80 +592,76 @@ void scn_gpu_float7SparseToDense_updateGradInput(
...
@@ -621,80 +592,76 @@ void scn_gpu_float7SparseToDense_updateGradInput(
double
scn_gpu_float7ValidConvolution_updateOutput
(
double
scn_gpu_float7ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float7ValidConvolution_backward
(
void
scn_gpu_float7ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_gpu_float8ActivePooling_updateOutput
(
void
scn_gpu_float8ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
void
scn_gpu_float8ActivePooling_updateGradInput
(
void
scn_gpu_float8ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
_Bool
average
);
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_gpu_float8AveragePooling_updateOutput
(
void
scn_gpu_float8AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float8AveragePooling_updateGradInput
(
void
scn_gpu_float8AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float8Convolution_updateOutput
(
double
scn_gpu_float8Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float8Convolution_backward
(
void
scn_gpu_float8Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float8Deconvolution_updateOutput
(
double
scn_gpu_float8Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float8Deconvolution_backward
(
void
scn_gpu_float8Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_gpu_float8MaxPooling_updateOutput
(
void
scn_gpu_float8MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float8MaxPooling_updateGradInput
(
void
scn_gpu_float8MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolS
tride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolS
ize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_in
put_features
,
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
output_features
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
);
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_gpu_float8SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_gpu_float8SparseToDense_updateOutput
(
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float8SparseToDense_updateGradInput
(
void
scn_gpu_float8SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
...
@@ -702,80 +669,76 @@ void scn_gpu_float8SparseToDense_updateGradInput(
...
@@ -702,80 +669,76 @@ void scn_gpu_float8SparseToDense_updateGradInput(
double
scn_gpu_float8ValidConvolution_updateOutput
(
double
scn_gpu_float8ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float8ValidConvolution_backward
(
void
scn_gpu_float8ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_gpu_float9ActivePooling_updateOutput
(
void
scn_gpu_float9ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
void
scn_gpu_float9ActivePooling_updateGradInput
(
void
scn_gpu_float9ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
_Bool
average
);
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_gpu_float9AveragePooling_updateOutput
(
void
scn_gpu_float9AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float9AveragePooling_updateGradInput
(
void
scn_gpu_float9AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float9Convolution_updateOutput
(
double
scn_gpu_float9Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float9Convolution_backward
(
void
scn_gpu_float9Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float9Deconvolution_updateOutput
(
double
scn_gpu_float9Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float9Deconvolution_backward
(
void
scn_gpu_float9Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_gpu_float9MaxPooling_updateOutput
(
void
scn_gpu_float9MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float9MaxPooling_updateGradInput
(
void
scn_gpu_float9MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolS
tride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolS
ize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_in
put_features
,
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
output_features
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
);
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_gpu_float9SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
void
scn_gpu_float9SparseToDense_updateOutput
(
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float9SparseToDense_updateGradInput
(
void
scn_gpu_float9SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
...
@@ -783,79 +746,76 @@ void scn_gpu_float9SparseToDense_updateGradInput(
...
@@ -783,79 +746,76 @@ void scn_gpu_float9SparseToDense_updateGradInput(
double
scn_gpu_float9ValidConvolution_updateOutput
(
double
scn_gpu_float9ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float9ValidConvolution_backward
(
void
scn_gpu_float9ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
// ActivePooling
// ActivePooling
void
scn_gpu_float10ActivePooling_updateOutput
(
void
scn_gpu_float10ActivePooling_updateOutput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
void
scn_gpu_float10ActivePooling_updateGradInput
(
void
scn_gpu_float10ActivePooling_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
_Bool
average
);
THCudaIntTensor
*
rulesBuffer
,
_Bool
average
);
// Average Pooling
// Average Pooling
void
scn_gpu_float10AveragePooling_updateOutput
(
void
scn_gpu_float10AveragePooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float10AveragePooling_updateGradInput
(
void
scn_gpu_float10AveragePooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float10Convolution_updateOutput
(
double
scn_gpu_float10Convolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float10Convolution_backward
(
void
scn_gpu_float10Convolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
double
scn_gpu_float10Deconvolution_updateOutput
(
double
scn_gpu_float10Deconvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float10Deconvolution_backward
(
void
scn_gpu_float10Deconvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
filterSize
,
THLongTensor
*
filterStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
d_
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_
in
put_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
// Max Pooling
// Max Pooling
void
scn_gpu_float10MaxPooling_updateOutput
(
void
scn_gpu_float10MaxPooling_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolSize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float10MaxPooling_updateGradInput
(
void
scn_gpu_float10MaxPooling_updateGradInput
(
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolSize
,
THLongTensor
*
inputSize
,
THLongTensor
*
outputSize
,
THLongTensor
*
poolS
tride
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
poolS
ize
,
THLongTensor
*
poolStride
,
void
**
m
,
THCudaTensor
*
d_
input_features
,
THCudaTensor
*
out
put_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_in
put_features
,
THCudaTensor
*
d_output_features
,
long
nFeaturesToDrop
,
THCudaTensor
*
output_features
,
THCudaTensor
*
d_output_features
,
THCudaIntTensor
*
rulesBuffer
);
long
nFeaturesToDrop
,
THCudaIntTensor
*
rulesBuffer
);
// SparseToDense
// SparseToDense
void
scn_gpu_float10SparseToDense_updateOutput
(
THLongTensor
*
inputSize
,
void
scn_gpu_float10SparseToDense_updateOutput
(
void
**
m
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
);
THCudaTensor
*
output_features
,
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float10SparseToDense_updateGradInput
(
void
scn_gpu_float10SparseToDense_updateGradInput
(
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THLongTensor
*
inputSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
...
@@ -863,12 +823,10 @@ void scn_gpu_float10SparseToDense_updateGradInput(
...
@@ -863,12 +823,10 @@ void scn_gpu_float10SparseToDense_updateGradInput(
double
scn_gpu_float10ValidConvolution_updateOutput
(
double
scn_gpu_float10ValidConvolution_updateOutput
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
weight
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaTensor
*
bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
void
scn_gpu_float10ValidConvolution_backward
(
void
scn_gpu_float10ValidConvolution_backward
(
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THLongTensor
*
inputSize
,
THLongTensor
*
filterSize
,
void
**
m
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
input_features
,
THCudaTensor
*
d_input_features
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_output_features
,
THCudaTensor
*
weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_weight
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaTensor
*
d_bias
,
long
filterVolume
,
THCudaIntTensor
*
rulesBuffer
);
THCudaIntTensor
*
rulesBuffer
);
PyTorch/sparseconvnet/legacy/inputBatch.py
View file @
6de372c3
...
@@ -33,7 +33,25 @@ class InputBatch(SparseConvNetTensor):
...
@@ -33,7 +33,25 @@ class InputBatch(SparseConvNetTensor):
self
.
metadata
.
ffi
,
self
.
features
,
location
,
vector
,
overwrite
)
self
.
metadata
.
ffi
,
self
.
features
,
location
,
vector
,
overwrite
)
def
setLocations
(
self
,
locations
,
vectors
,
overwrite
=
False
):
def
setLocations
(
self
,
locations
,
vectors
,
overwrite
=
False
):
l
=
locations
.
narrow
(
1
,
0
,
self
.
dimension
)
"""
To set n locations in d dimensions, locations can be
- A size (n,d) LongTensor, giving d-dimensional coordinates -- points
are added to the current sample, or
- A size (n,d+1) LongTensor; the extra column specifies the sample
number (within the minibatch of samples).
Example with d=3 and n=2:
Set
locations = LongTensor([[1,2,3],
[4,5,6]])
to add points to the current sample at (1,2,3) and (4,5,6).
Set
locations = LongTensor([[1,2,3,7],
[4,5,6,9]])
to add point (1,2,3) to sample 7, and (4,5,6) to sample 9 (0-indexed).
"""
l
=
locations
.
narrow
(
1
,
0
,
self
.
dimension
)
assert
l
.
min
()
>=
0
and
(
self
.
spatial_size
.
expand_as
(
l
)
-
l
).
min
()
>
0
assert
l
.
min
()
>=
0
and
(
self
.
spatial_size
.
expand_as
(
l
)
-
l
).
min
()
>
0
dim_fn
(
self
.
dimension
,
'setInputSpatialLocations'
)(
dim_fn
(
self
.
dimension
,
'setInputSpatialLocations'
)(
self
.
metadata
.
ffi
,
self
.
features
,
locations
,
vectors
,
overwrite
)
self
.
metadata
.
ffi
,
self
.
features
,
locations
,
vectors
,
overwrite
)
...
...
Torch/C.lua
View file @
6de372c3
...
@@ -25,35 +25,33 @@ return function (sparseconvnet)
...
@@ -25,35 +25,33 @@ return function (sparseconvnet)
end
end
cdef
=
[[
cdef
=
[[
void scn_ptrCopyA(long *dst, void **src);
void scn_ptrCopyA(long *dst, void **src);
void scn_ptrCopyB(void **dst, long *src);
void scn_ptrCopyB(void **dst, long *src);
double scn_ruleBookBits();
double scn_ruleBookBits();
void scn_2_drawCurve(void **m, THFloatTensor *features, THFloatTensor *stroke);
void scn_2_drawCurve(void **m, THFloatTensor *features, THFloatTensor *stroke);
]]
]]
if
fc
then
fc
:
write
(
cdef
)
end
if
fc
then
fc
:
write
(
cdef
)
end
ffi
.
cdef
(
cdef
)
ffi
.
cdef
(
cdef
)
sparseconvnet
.
ruleBookBits
=
F
[
'scn_ruleBookBits'
]()
sparseconvnet
.
ruleBookBits
=
F
[
'scn_ruleBookBits'
]()
cdef
=
[[
cdef
=
[[
double scn_DIMENSION_addSampleFromThresholdedTensor(
double scn_DIMENSION_addSampleFromThresholdedTensor(
void **m, THFloatTensor *features_, THFloatTensor *tensor_,
void **m, THFloatTensor *features_, THFloatTensor *tensor_,
THLongTensor *offset_, THLongTensor *spatialSize_, float threshold);
THLongTensor *offset_, THLongTensor *spatialSize_, float threshold);
void scn_DIMENSION_batchAddSample(void **m);
void scn_DIMENSION_batchAddSample(void **m);
void scn_DIMENSION_createMetadataForDenseToSparse(
void scn_DIMENSION_createMetadataForDenseToSparse(
void **m, THLongTensor *spatialSize_, THLongTensor *pad, THLongTensor *nz,
void **m, THLongTensor *spatialSize_, THLongTensor *pad, THLongTensor *nz,
long batchSize);
long batchSize);
void scn_DIMENSION_freeMetadata(void **metadata);
void scn_DIMENSION_freeMetadata(void **metadata);
void scn_DIMENSION_generateRuleBooks3s2(void **m);
void scn_DIMENSION_generateRuleBooks3s2(void **m);
void scn_DIMENSION_generateRuleBooks2s2(void **m);
void scn_DIMENSION_generateRuleBooks2s2(void **m);
void scn_DIMENSION_setInputSpatialSize(void **m, THLongTensor *spatialSize);
void scn_DIMENSION_setInputSpatialSize(void **m, THLongTensor *spatialSize);
void scn_DIMENSION_setInputSpatialLocation(void **m,
void scn_DIMENSION_setInputSpatialLocation(void **m, THFloatTensor *features,
THFloatTensor *features, THLongTensor *location, THFloatTensor *vec,
THLongTensor *location, THFloatTensor *vec, bool overwrite);
bool overwrite);
void scn_DIMENSION_setInputSpatialLocations(void **m, THFloatTensor *features,
void scn_5_getSpatialLocations(void **m,
THLongTensor *locations, THFloatTensor *vecs, bool overwrite);
THLongTensor *spatialSize, THLongTensor *locations);
void scn_DIMENSION_getSpatialLocations(void **m, THLongTensor *spatialSize,
void scn_DIMENSION_setInputSpatialLocations(void **m,
THLongTensor *locations);
THFloatTensor *features, THLongTensor *locations, THFloatTensor *vecs,
bool overwrite);
]]
]]
for
DIMENSION
=
1
,
10
do
for
DIMENSION
=
1
,
10
do
...
@@ -66,60 +64,60 @@ return function (sparseconvnet)
...
@@ -66,60 +64,60 @@ return function (sparseconvnet)
--type GPU half, float, double; int_cpu and int_gpu
--type GPU half, float, double; int_cpu and int_gpu
cdef
=
[[
cdef
=
[[
void scn_ARCH_REAL_AffineReluTrivialConvolution_updateOutput(
void scn_ARCH_REAL_AffineReluTrivialConvolution_updateOutput(
THTensor *input_features, THTensor *output_features,
THTensor *input_features, THTensor *output_features,
THTensor *affineWeight, THTensor *affineBias, THTensor *convWeight);
THTensor *affineWeight, THTensor *affineBias, THTensor *convWeight);
void scn_ARCH_REAL_AffineReluTrivialConvolution_backward(
void scn_ARCH_REAL_AffineReluTrivialConvolution_backward(
THTensor *input_features, THTensor *d_input_features,
THTensor *input_features, THTensor *d_input_features,
THTensor *d_output_features, THTensor *affineWeight,
THTensor *d_output_features, THTensor *affineWeight,
THTensor *d_affineWeight, THTensor *affineBias, THTensor *d_affineBias,
THTensor *d_affineWeight, THTensor *affineBias, THTensor *d_affineBias,
THTensor *convWeight, THTensor *d_convWeight, bool additiveGrad);
THTensor *convWeight, THTensor *d_convWeight, bool additiveGrad);
// BatchwiseMultiplicativeDropout
// BatchwiseMultiplicativeDropout
void scn_ARCH_REAL_BatchwiseMultiplicativeDropout_updateOutput(
void scn_ARCH_REAL_BatchwiseMultiplicativeDropout_updateOutput(
THTensor *input_features, THTensor *output_features,
THTensor *input_features, THTensor *output_features,
THTensor *noise, long nPlanes, long input_stride, long output_stride,
THTensor *noise, long nPlanes, long input_stride, long output_stride,
float alpha);
float alpha);
void scn_ARCH_REAL_BatchwiseMultiplicativeDropout_updateGradInput(
void scn_ARCH_REAL_BatchwiseMultiplicativeDropout_updateGradInput(
THTensor *input_features, THTensor *d_input_features,
THTensor *input_features, THTensor *d_input_features,
THTensor *d_output_features, THTensor *noise, long nPlanes,
THTensor *d_output_features, THTensor *noise, long nPlanes,
long input_stride, long output_stride, float alpha);
long input_stride, long output_stride, float alpha);
// BatchNormalization
// BatchNormalization
void scn_ARCH_REAL_BatchNormalization_updateOutput(
void scn_ARCH_REAL_BatchNormalization_updateOutput(
THTensor *input_features, THTensor *output_features,
THTensor *input_features, THTensor *output_features,
THTensor *saveMean, THTensor *saveInvStd, THTensor *runningMean,
THTensor *saveMean, THTensor *saveInvStd, THTensor *runningMean,
THTensor *runningVar, THTensor *weight, THTensor *bias, REAL eps,
THTensor *runningVar, THTensor *weight, THTensor *bias, REAL eps,
REAL momentum, bool train, REAL leakiness);
REAL momentum, bool train, REAL leakiness);
void scn_ARCH_REAL_BatchNormalization_backward(
void scn_ARCH_REAL_BatchNormalization_backward(
THTensor *input_features, THTensor *d_input_features,
THTensor *input_features, THTensor *d_input_features,
THTensor *output_features, THTensor *d_output_features, THTensor *saveMean,
THTensor *output_features, THTensor *d_output_features, THTensor *saveMean,
THTensor *saveInvStd, THTensor *runningMean, THTensor *runningVar,
THTensor *saveInvStd, THTensor *runningMean, THTensor *runningVar,
THTensor *weight, THTensor *bias, THTensor *d_weight, THTensor *d_bias,
THTensor *weight, THTensor *bias, THTensor *d_weight, THTensor *d_bias,
REAL leakiness);
REAL leakiness);
// BatchNormalizationInTensor
// BatchNormalizationInTensor
void scn_ARCH_REAL_BatchNormalizationInTensor_updateOutput(
void scn_ARCH_REAL_BatchNormalizationInTensor_updateOutput(
THTensor *input_features, THTensor *output_features,
THTensor *input_features, THTensor *output_features,
THTensor *saveMean, THTensor *saveInvStd, THTensor *runningMean,
THTensor *saveMean, THTensor *saveInvStd, THTensor *runningMean,
THTensor *runningVar, THTensor *weight, THTensor *bias, REAL eps,
THTensor *runningVar, THTensor *weight, THTensor *bias, REAL eps,
REAL momentum, bool train, REAL leakiness);
REAL momentum, bool train, REAL leakiness);
// LeakyReLU
// LeakyReLU
void scn_ARCH_REAL_LeakyReLU_updateOutput(
void scn_ARCH_REAL_LeakyReLU_updateOutput(
THTensor *input_features, THTensor *output_features, long n,
THTensor *input_features, THTensor *output_features, long n,
float alpha);
float alpha);
void scn_ARCH_REAL_LeakyReLU_updateGradInput(
void scn_ARCH_REAL_LeakyReLU_updateGradInput(
THTensor *input_features, THTensor *d_input_features,
THTensor *input_features, THTensor *d_input_features,
THTensor *d_output_features, long n, float alpha);
THTensor *d_output_features, long n, float alpha);
// NetworkInNetwork
// NetworkInNetwork
double scn_ARCH_REAL_NetworkInNetwork_updateOutput(
double scn_ARCH_REAL_NetworkInNetwork_updateOutput(
THTensor *input_features, THTensor *output_features,
THTensor *input_features, THTensor *output_features,
THTensor *weight, THTensor *bias);
THTensor *weight, THTensor *bias);
void scn_ARCH_REAL_NetworkInNetwork_updateGradInput(
void scn_ARCH_REAL_NetworkInNetwork_updateGradInput(
THTensor *d_input_features, THTensor *d_output_features,
THTensor *d_input_features, THTensor *d_output_features,
THTensor *weight);
THTensor *weight);
void scn_ARCH_REAL_NetworkInNetwork_accGradParameters(
void scn_ARCH_REAL_NetworkInNetwork_accGradParameters(
THTensor *input_features, THTensor *d_output_features,
THTensor *input_features, THTensor *d_output_features,
THTensor *d_weight, THTensor *d_bias);
THTensor *d_weight, THTensor *d_bias);
]]
]]
...
@@ -149,79 +147,79 @@ return function (sparseconvnet)
...
@@ -149,79 +147,79 @@ return function (sparseconvnet)
end
end
cdef
=
[[
cdef
=
[[
// ActivePooling
// ActivePooling
void scn_ARCH_REAL_DIMENSIONActivePooling_updateOutput(
void scn_ARCH_REAL_DIMENSIONActivePooling_updateOutput(
THLongTensor *inputSize, void **m, THTensor *input_features,
THLongTensor *inputSize, void **m, THTensor *input_features,
THTensor *output_features, THITensor *rulesBuffer, bool average);
THTensor *output_features, THITensor *rulesBuffer, bool average);
void scn_ARCH_REAL_DIMENSIONActivePooling_updateGradInput(
void scn_ARCH_REAL_DIMENSIONActivePooling_updateGradInput(
THLongTensor *inputSize, void **m,
THLongTensor *inputSize, void **m,
THTensor *d_input_features, THTensor *d_output_features,
THTensor *d_input_features, THTensor *d_output_features,
THITensor *rulesBuffer, bool average);
THITensor *rulesBuffer, bool average);
// Average Pooling
// Average Pooling
void scn_ARCH_REAL_DIMENSIONAveragePooling_updateOutput(
void scn_ARCH_REAL_DIMENSIONAveragePooling_updateOutput(
THLongTensor *inputSize, THLongTensor *outputSize,
THLongTensor *inputSize, THLongTensor *outputSize,
THLongTensor *poolSize, THLongTensor *poolStride, void **m,
THLongTensor *poolSize, THLongTensor *poolStride, void **m,
THTensor *input_features, THTensor *output_features, long nFeaturesToDrop,
THTensor *input_features, THTensor *output_features, long nFeaturesToDrop,
THITensor *rulesBuffer);
THITensor *rulesBuffer);
void scn_ARCH_REAL_DIMENSIONAveragePooling_updateGradInput(
void scn_ARCH_REAL_DIMENSIONAveragePooling_updateGradInput(
THLongTensor * inputSize, THLongTensor * outputSize,
THLongTensor * inputSize, THLongTensor * outputSize,
THLongTensor * poolSize, THLongTensor * poolStride, void **m,
THLongTensor * poolSize, THLongTensor * poolStride, void **m,
THTensor *input_features, THTensor *d_input_features,
THTensor *input_features, THTensor *d_input_features,
THTensor *d_output_features, long nFeaturesToDrop,
THTensor *d_output_features, long nFeaturesToDrop,
THITensor *rulesBuffer);
THITensor *rulesBuffer);
double scn_ARCH_REAL_DIMENSIONConvolution_updateOutput(
double scn_ARCH_REAL_DIMENSIONConvolution_updateOutput(
THLongTensor *inputSize, THLongTensor *outputSize,
THLongTensor *inputSize, THLongTensor *outputSize,
THLongTensor *filterSize, THLongTensor *filterStride, void **m,
THLongTensor *filterSize, THLongTensor *filterStride, void **m,
THTensor *input_features, THTensor *output_features, THTensor *weight,
THTensor *input_features, THTensor *output_features, THTensor *weight,
THTensor *bias, long filterVolume, THITensor *rulesBuffer);
THTensor *bias, long filterVolume, THITensor *rulesBuffer);
void scn_ARCH_REAL_DIMENSIONConvolution_backward(
void scn_ARCH_REAL_DIMENSIONConvolution_backward(
THLongTensor *inputSize, THLongTensor *outputSize,
THLongTensor *inputSize, THLongTensor *outputSize,
THLongTensor *filterSize, THLongTensor *filterStride, void **m,
THLongTensor *filterSize, THLongTensor *filterStride, void **m,
THTensor *input_features, THTensor *d_input_features,
THTensor *input_features, THTensor *d_input_features,
THTensor *d_output_features, THTensor *weight, THTensor *d_weight,
THTensor *d_output_features, THTensor *weight, THTensor *d_weight,
THTensor *d_bias, long filterVolume, THITensor *rulesBuffer);
THTensor *d_bias, long filterVolume, THITensor *rulesBuffer);
double scn_ARCH_REAL_DIMENSIONDeconvolution_updateOutput(
double scn_ARCH_REAL_DIMENSIONDeconvolution_updateOutput(
THLongTensor *inputSize, THLongTensor *outputSize,
THLongTensor *inputSize, THLongTensor *outputSize,
THLongTensor *filterSize, THLongTensor *filterStride, void **m,
THLongTensor *filterSize, THLongTensor *filterStride, void **m,
THTensor *input_features, THTensor *output_features, THTensor *weight,
THTensor *input_features, THTensor *output_features, THTensor *weight,
THTensor *bias, long filterVolume, THITensor *rulesBuffer);
THTensor *bias, long filterVolume, THITensor *rulesBuffer);
void scn_ARCH_REAL_DIMENSIONDeconvolution_backward(
void scn_ARCH_REAL_DIMENSIONDeconvolution_backward(
THLongTensor *inputSize, THLongTensor *outputSize,
THLongTensor *inputSize, THLongTensor *outputSize,
THLongTensor *filterSize, THLongTensor *filterStride, void **m,
THLongTensor *filterSize, THLongTensor *filterStride, void **m,
THTensor *input_features, THTensor *d_input_features,
THTensor *input_features, THTensor *d_input_features,
THTensor *d_output_features, THTensor *weight, THTensor *d_weight,
THTensor *d_output_features, THTensor *weight, THTensor *d_weight,
THTensor *d_bias, long filterVolume, THITensor *rulesBuffer);
THTensor *d_bias, long filterVolume, THITensor *rulesBuffer);
// Max Pooling
// Max Pooling
void scn_ARCH_REAL_DIMENSIONMaxPooling_updateOutput(
void scn_ARCH_REAL_DIMENSIONMaxPooling_updateOutput(
THLongTensor *inputSize, THLongTensor *outputSize,
THLongTensor *inputSize, THLongTensor *outputSize,
THLongTensor *poolSize, THLongTensor *poolStride, void **m,
THLongTensor *poolSize, THLongTensor *poolStride, void **m,
THTensor *input_features, THTensor *output_features, long nFeaturesToDrop,
THTensor *input_features, THTensor *output_features, long nFeaturesToDrop,
THITensor *rulesBuffer);
THITensor *rulesBuffer);
void scn_ARCH_REAL_DIMENSIONMaxPooling_updateGradInput(
void scn_ARCH_REAL_DIMENSIONMaxPooling_updateGradInput(
THLongTensor * inputSize, THLongTensor * outputSize,
THLongTensor * inputSize, THLongTensor * outputSize,
THLongTensor * poolSize, THLongTensor * poolStride, void **m,
THLongTensor * poolSize, THLongTensor * poolStride, void **m,
THTensor *input_features, THTensor *d_input_features,
THTensor *input_features, THTensor *d_input_features,
THTensor *output_features, THTensor *d_output_features,
THTensor *output_features, THTensor *d_output_features,
long nFeaturesToDrop, THITensor *rulesBuffer);
long nFeaturesToDrop, THITensor *rulesBuffer);
// SparseToDense
// SparseToDense
void scn_ARCH_REAL_DIMENSIONSparseToDense_updateOutput(
void scn_ARCH_REAL_DIMENSIONSparseToDense_updateOutput(
THLongTensor *inputSize, void **m, THTensor *input_features,
THLongTensor *inputSize, void **m, THTensor *input_features,
THTensor *output_features, THITensor *rulesBuffer);
THTensor *output_features, THITensor *rulesBuffer);
void scn_ARCH_REAL_DIMENSIONSparseToDense_updateGradInput(
void scn_ARCH_REAL_DIMENSIONSparseToDense_updateGradInput(
THLongTensor *inputSize, void **m, THTensor *input_features,
THLongTensor *inputSize, void **m, THTensor *input_features,
THTensor *d_input_features, THTensor *d_output_features,
THTensor *d_input_features, THTensor *d_output_features,
THITensor *rulesBuffer);
THITensor *rulesBuffer);
double scn_ARCH_REAL_DIMENSIONValidConvolution_updateOutput(
double scn_ARCH_REAL_DIMENSIONValidConvolution_updateOutput(
THLongTensor *inputSize, THLongTensor *filterSize, void **m,
THLongTensor *inputSize, THLongTensor *filterSize, void **m,
THTensor *input_features, THTensor *output_features, THTensor *weight,
THTensor *input_features, THTensor *output_features, THTensor *weight,
THTensor *bias, long filterVolume, THITensor *rulesBuffer);
THTensor *bias, long filterVolume, THITensor *rulesBuffer);
void scn_ARCH_REAL_DIMENSIONValidConvolution_backward(
void scn_ARCH_REAL_DIMENSIONValidConvolution_backward(
THLongTensor *inputSize, THLongTensor *filterSize, void **m,
THLongTensor *inputSize, THLongTensor *filterSize, void **m,
THTensor *input_features, THTensor *d_input_features,
THTensor *input_features, THTensor *d_input_features,
THTensor *d_output_features, THTensor *weight, THTensor *d_weight,
THTensor *d_output_features, THTensor *weight, THTensor *d_weight,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment