Does anyone know alternative for torch.save, torch.Tensor([])
in tensorflow? I assume alternative for torch.save()
could be tensorflow.saved_models.save()
and alternative for torch.Tensor([])
could be tensorflow.Tensor(numpy.empty())
, but I am not really sure. Can anyone clear out my doubt?
especially, I am not relly sure what would be correct function in tensorflow for
myVars = torch.Tensor([]).to(self.device)