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
torch-cluster
Commits
ea62b22d
Commit
ea62b22d
authored
Jan 13, 2018
by
rusty1s
Browse files
boilerplate
parent
1d06c5ad
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
torch_cluster/src/cpu.c
torch_cluster/src/cpu.c
+6
-0
torch_cluster/src/cpu.h
torch_cluster/src/cpu.h
+7
-0
torch_cluster/src/generic/cpu.c
torch_cluster/src/generic/cpu.c
+8
-0
No files found.
torch_cluster/src/cpu.c
View file @
ea62b22d
#include <TH/TH.h>
#define cluster_(NAME) TH_CONCAT_4(cluster_, NAME, _, Real)
#include "generic/cpu.c"
#include "THGenerateAllTypes.h"
torch_cluster/src/cpu.h
View file @
ea62b22d
void
cluster_grid_Float
(
int
C
,
THLongTensor
*
output
,
THFloatTensor
*
position
,
THFloatTensor
*
size
);
void
cluster_grid_Double
(
int
C
,
THLongTensor
*
output
,
THDoubleTensor
*
position
,
THDoubleTensor
*
size
);
void
cluster_grid_Byte
(
int
C
,
THLongTensor
*
output
,
THByteTensor
*
position
,
THByteTensor
*
size
);
void
cluster_grid_Char
(
int
C
,
THLongTensor
*
output
,
THCharTensor
*
position
,
THCharTensor
*
size
);
void
cluster_grid_Short
(
int
C
,
THLongTensor
*
output
,
THShortTensor
*
position
,
THShortTensor
*
size
);
void
cluster_grid_Int
(
int
C
,
THLongTensor
*
output
,
THIntTensor
*
position
,
THIntTensor
*
size
);
void
cluster_grid_Long
(
int
C
,
THLongTensor
*
output
,
THLongTensor
*
position
,
THLongTensor
*
size
);
torch_cluster/src/generic/cpu.c
View file @
ea62b22d
#ifndef TH_GENERIC_FILE
#define TH_GENERIC_FILE "generic/cpu.c"
#else
void
cluster_
(
grid
)(
int
C
,
THLongTensor
*
output
,
THTensor
*
position
,
THTensor
*
size
)
{
}
#endif
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