<jupyter_start><jupyter_text>- 知识参考[1] [强化学习之六：Deep Q-Network and Beyond](https://blog.csdn.net/qq_32690999/article/details/79302093) DQN 相对<jupyter_code>import tensorflow as tf
import numpy as np
import gym

env=gym.make('CartPole-v0')

state_shape=env.observation_space.shape;
action_shape=env.action_space.shape;

input_vec=tf.placeholder(dtype=tf.int32,name='state_input',shape=state_shape)
output_vec=tf.placeholder(dtype=tf.int32,name='state_input',shape=action_shape)

with tf.Session() as sess:

    
class NN:
    
    def __init__():
    
    def<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup