Question: Create a 3 * 3 tensor variable ( the initial values don't matter ) . Assign values from 1 to 9 to it and than
Create a tensor variable the initial values don't matter
Assign values from to to it and than add to each assigned value in the tensor.
Print out the initial values and print out the new values after the assign operation.
initial # implement initial x variable here
assign # implement assign value here
add # implement addition here
tfprintInitial values:
initial
tfprintNew values:
assign
tfprintAfter addition of :
add
TensorFlow code
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
