I'm trying to make a simple neural network and I have a simple question: How do I convert a tensor which is rank 1 to a tensor which is rank 2?
You might be looking for tf.expand_dims()
https://www.tensorflow.org/api_docs/python/tf/expand_dims
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With