import tensorflow as tf

            lstm_c = tf.nn.rnn_cell.DropoutWrapper(lstm_c, output_keep_prob=self.keep_prob)
            state_init_c = lstm_c.zero_state(batch_size=batch_size, dtype=tf.float32)
            lstm_cin = tf.expand_dims(layer_c2, axis=1)
            out_c, state_final_c = tf.nn.dynamic_rnn(cell=lstm_c, inputs=lstm_cin, initial_state=state_init_c)
            cell_out_c = tf.reshape(out_c, [-1, 256])
            vf = tf.layers.dense(cell_out_c, 1, kernel_regularizer=reg)
        params = tf.get_collection(tf.GraphKeys.GLOBAL_VARIABLES, scope=name)
        return vf, params, state_init_c, state_final_c
