defcall(self,inputs,state):"""Gated recurrent unit (GRU) with nunits cells."""gate_inputs=math_ops.matmul(array_ops.concat([inputs,state],1),self._gate_kernel)gate_inputs=nn_ops.bias_add(gate_inputs,self._gate_bias)value=math_ops.sigmoid(gate_inputs)r,u=array_ops.split(value=value,num_or_size_splits=2,axis=1)r_state=r*statecandidate=math_ops.matmul(array_ops.concat([inputs,r_state],1),self._candidate_kernel)candidate=nn_ops.bias_add(candidate,self._candidate_bias)c=self._activation(candidate)new_h=u*state+(1-u)*creturnnew_h,new_h