original_docstring: Computes carry and output using split kernels.
docstring: Computes carry and output using split kernels.
docstring_tokens: Computes carry and output using split kernels .
code: def _compute_carry_and_output(self, x, h_tm1, c_tm1):
          """Computes carry and output using split kernels."""
          x_i, x_f, x_c, x_o = x
          h_tm1_i, h_tm1_f, h_tm1_c, h_tm1_o = h_tm1
          i = self.recurrent_activation(
              x_i + K.dot(h_tm1_i, self.recurrent_kernel[:, :self.units]))
          f = self.recurrent_activation(x_f + K.dot(
              h_tm1_f, self.recurrent_kernel[:, self.units:self.units * 2]))
          c = f * c_tm1 + i * self.activation(x_c + K.dot(
              h_tm1_c, self.recurrent_kernel[:, self.units * 2:self.units * 3]))
          o = self.recurrent_activation(
              x_o + K.dot(h_tm1_o, self.recurrent_kernel[:, self.units * 3:]))
          return c, o
code_tokens: def _compute_carry_and_output ( self , x , h_tm1 , c_tm1 ) : x_i , x_f , x_c , x_o = x h_tm1_i , h_tm1_f , h_tm1_c , h_tm1_o = h_tm1 i = self . recurrent_activation ( x_i + K . dot ( h_tm1_i , self . recurrent_kernel [ : , : self . units ] ) ) f = self . recurrent_activation ( x_f + K . dot ( h_tm1_f , self . recurrent_kernel [ : , self . units : self . units * 2 ] ) ) c = f * c_tm1 + i * self . activation ( x_c + K . dot ( h_tm1_c , self . recurrent_kernel [ : , self . units * 2 : self . units * 3 ] ) ) o = self . recurrent_activation ( x_o + K . dot ( h_tm1_o , self . recurrent_kernel [ : , self . units * 3 : ] ) ) return c , o
short_docstring: Computes carry and output using split kernels.
short_docstring_tokens: Computes carry and output using split kernels .
comment: """Computes carry and output using split kernels."""