How can I convert a tensor into a numpy array in TensorFlow ?

How can I convert a tensor into a numpy array in TensorFlow ?

Asked on December 11, 2018 in Tensorflow.
Add Comment


  • 1 Answer(s)

          You can just run .eval() on the transformed tensor to change back from tensor to numpy array.

    Answered on December 11, 2018.
    Add Comment


  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.