In TensorFlow, when defining a placeholder for a tensor, should one use a placeholder function with one of the parameters specifying the shape of the tensor, which, however, does not need to be set?
Friday, 09 August 2024 by Tomasz Ciołak
In TensorFlow, placeholders were a fundamental concept used in TensorFlow 1.x for feeding external data into a computational graph. With the advent of TensorFlow 2.x, the use of placeholders has been deprecated in favor of the more intuitive and flexible `tf.data` API and eager execution, which allows for more dynamic and interactive model development. However,
- Published in Artificial Intelligence, EITC/AI/DLTF Deep Learning with TensorFlow, TensorFlow, TensorFlow basics
Tagged under: Artificial Intelligence, Data Pipelines, Placeholders, TensorFlow, TensorFlow 1.x, TensorFlow 2.x