TensorShape conversions remain stable ... Offending code x <- shape(NA, 3) tensorflow::as_tensor(x) - Tensor("Const_8:0", shape=(2,), dtype=int32) + Tensor("Const_8:0", shape=(2), dtype=int32)