0

What is meaning of placeholder variable?

11th Oct 2018, 11:48 AM
Nish123
Nish123 - avatar
2 Respuestas
+ 1
A placeholder is used for feeding external data into a Tensorflow computation (stuff outside the graph). Here's some documentation: (https://www.tensorflow.org/versions/r0.10/how_tos/reading_data/#feeding) TensorFlow's feed mechanism lets you inject data into any Tensor in a computation graph. A python computation can thus feed data directly into the graph. https://stackoverflow.com/questions/41294094/is-there-a-difference-between-a-placeholder-and-variable-when-not-building-a-mod/41294283
11th Oct 2018, 12:55 PM
Willem Roos
+ 1
x=('{} man'.format('Hi')) #output=Hi man In this code,(curly brackets ){} in x variable is placeholder and Hi is placeholder variable.This is a string formatting concept.
11th Oct 2018, 4:11 PM
Maninder $ingh
Maninder $ingh - avatar