mirror of
https://github.com/wassname/ray.git
synced 2026-08-18 12:20:14 +08:00
[RLlib] Curiosity exploration module: tf/tf2.x/tf-eager support. (#11945)
This commit is contained in:
@@ -62,7 +62,7 @@ class LocalSyncParallelOptimizer:
|
||||
self.loss_inputs = input_placeholders + rnn_inputs
|
||||
self.build_graph = build_graph
|
||||
|
||||
# First initialize the shared loss network
|
||||
# First initialize the shared loss network.
|
||||
with tf1.name_scope(TOWER_SCOPE_NAME):
|
||||
self._shared_loss = build_graph(self.loss_inputs)
|
||||
shared_ops = tf1.get_collection(
|
||||
|
||||
Reference in New Issue
Block a user