blob: 6126e862667c78cfd9d43f6552c4919789b46cd5 [file] [log] [blame]
#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)
{
THAssertMsg(false, "Not implemented for CPU");
}
void THNN_(GRUFused_updateGradInput)(
THNNState *state,
THTensor *input,
THTensor *hidden,
THTensor *gradOutput,
THTensor *gradInput)
{
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 *input,
THTensor *hidden,
THTensor *prevC,
THTensor *cy,
THTensor *gradOutput,
THTensor *gradOutputCell,
THTensor *gradInput)
{
THAssertMsg(false, "Not implemented for CPU");
}
#endif