machine learning - Slicing operation in tensorflow -


i passing batch of images neural network. let's shape of batch (4, 224,224,3). want apply slicing operation on batch can 2 tensors of shape (2,224,224,3) respectively. how can using tf.slice() or that?

i think rather want use tf.split. e.g in case,

tf.split(my_tensor, 2) 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -