Searched refs:forgot_state (Results 1 – 3 of 3) sorted by relevance
81 l.forgot_state = (float*)xcalloc(outputs * batch, sizeof(float)); in make_gru_layer()164 copy_cpu(l.outputs*l.batch, l.state, 1, l.forgot_state, 1); in forward_gru_layer()165 mul_cpu(l.outputs*l.batch, l.r_cpu, 1, l.forgot_state, 1); in forward_gru_layer()167 s.input = l.forgot_state; in forward_gru_layer()
77 if (l.forgot_state) free(l.forgot_state); in free_layer_custom()
365 float * forgot_state; member