Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Question: Explain the concept of placeholders in TensorFlow.
Answer: Placeholders are used to feed actual training examples into the computational graph. They allow you to create the graph without knowing the actual data that will be fed into it.

Example:

x = tf.placeholder(tf.float32, shape=(None, input_size))

Is it helpful? Yes No

Most helpful rated by users:

©2025 WithoutBook