Skip to content

classification Problem #581

Discussion options

You must be logged in to vote

Hey @AyeshaMalikAyesha ,

Good point!

Yes, you're right, generally we should convert data to tensors but due to the flexibility of TensorFlow, it's often capable to compute on NumPy arrays as well.

However, I'd recommend wherever possible using tf.Tensor as this datatype will bring with it several advantages over NumPy arrays, see tensorflow.org/api_docs/python/tf/Tensor for more.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AyeshaMalikAyesha
# for free to join this conversation on GitHub. Already have an account? # to comment
Category
Q&A
Labels
None yet
2 participants