tf_agents.specs.tensor_spec.to_placeholder

View source on GitHub

Creates a placeholder from TensorSpec.

spec instance of TensorSpec
outer_dims optional leading dimensions of the placeholder.

An instance of tf.placeholder.