Computer Science, asked by aniketjadhav0939, 9 months ago

A __________________ is a place holder or object where you can store a value or piece of data named by you.

Answers

Answered by roseelizebethroy
5

Answer:

Explanation:

So far we have used Variables to manage our data, but there is a more basic structure, the placeholder. A placeholder is simply a variable that we will assign data to at a later date. It allows us to create our operations and build our computation graph, without needing the data. In Tensor , we then feed data into the graph through these placeholders.

We now have an operation (y) defined, and can now run it in a session. We create a session object, and then run just the y variable. Note that this means, that if we defined a much larger graph of operations, we can run just a small segment of the graph. This  evaluation is actually a bit selling point of TensorFlow, and one that isn’t present in many other libraries that do similar things.

Running y requires knowledge about the values of x. We define these inside the feed_dict argument to run. We state here that the values of x are [1, 2, 3]. We run y, giving us the result of [2, 4, 6].

Placeholders do not need to be statically sized. Let’s update our program to allow x to take on any length. Change the definition of x to be:

Answered by Archita893
5

A _____Tensorflow_____________ is a place holder or object where you can store a value or piece of data named by you.

Similar questions