I have a tensor such as this
Tensor("activation_1/Relu:0", shape=(?, 32, 32, 96), dtype=float32)
I want to serialize this tensor in order to move it across devices and then reconstruct it but it seems impossible to serialize such using Pickle or Dill
Update
The tensor is the result of this model block.
`def conv_module(x, K, kX, kY, stride, padding="same"):
# define a CONV => BN => RELU pattern
x = Conv2D(K, (kX, kY), strides=stride, padding=padding)(x)
x = BatchNormalization()(x)
x = Activation("relu")(x)
# return the block
return x`
Currently, I am not using eager execution but I could do that as well if its an option.