Welcome to mirror list, hosted at ThFree Co, Russian Federation.

FusedRNNKernel.c « generic « THNN « lib - github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 30788b0a26c4abceb7d26eed54c22efd9cbd102a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
#ifndef TH_GENERIC_FILE
#define TH_GENERIC_FILE "generic/FusedRNNKernel.c"
#else

void THNN_(GRUFused_updateOutput)(
          THNNState *state,
          THTensor *input,
          THTensor *hidden,
          THTensor *bias1,
          THTensor *bias2,
          THTensor *hx,
          THTensor *hy,
          THTensor *storage)
{
  THAssertMsg(false, "Not implemented for CPU");
}

void THNN_(GRUFused_updateGradInput)(
          THNNState *state,
          THTensor *gradInInput,
          THTensor *gradInHidden,
          THTensor *gradOutput,
          THTensor *gradInputHx,
          THTensor *storage)
{
  THAssertMsg(false, "Not implemented for CPU");
}

void THNN_(LSTMFused_updateOutput)(
          THNNState *state,
          THTensor *input,
          THTensor *hidden,
          THTensor *bias1,
          THTensor *bias2,
          THTensor *cx,
          THTensor *hy,
          THTensor *cy)
{
  THAssertMsg(false, "Not implemented for CPU");
}

void THNN_(LSTMFused_updateGradInput)(
          THNNState *state,
          THTensor *storage,
          THTensor *gradInGates,
          THTensor *prevC,
          THTensor *cy,
          THTensor *gradOutput,
          THTensor *gradOutputCell,
          THTensor *gradInputCx)
{
  THAssertMsg(false, "Not implemented for CPU");
}

#endif