def _initialize(self):
    state_input = tf.compat.v1.placeholder(tf.float32, shape=(None, self.obs_dim))
    with tf.compat.v1.variable_scope(self.name) as vs:
        self._variable_scope = vs
        self.model.build(state_input)
    self._f_prob = tf.compat.v1.get_default_session().make_callable(self.model.networks['default'].outputs, feed_list=[self.model.networks['default'].input])
def _initialize(self):
    state_input = tf.compat.v1.placeholder(tf.float32, shape=(None, self.obs_dim))
    with tf.compat.v1.variable_scope(self.name) as vs:
        self._variable_scope = vs
        self.model.build(state_input)
    self._f_prob = tf.compat.v1.get_default_session().make_callable(self.model.networks['default'].outputs, feed_list=[self.model.networks['default'].input])