Skip to content

Instantly share code, notes, and snippets.

@Adityanagraj
Created July 2, 2020 08:49
Show Gist options
  • Save Adityanagraj/d8c417bb419d7eae6cf64c9492e1639c to your computer and use it in GitHub Desktop.
Save Adityanagraj/d8c417bb419d7eae6cf64c9492e1639c to your computer and use it in GitHub Desktop.
inputs = torch.from_numpy(inputs_array).type(torch.float32)
targets = torch.from_numpy(targets_array).type(torch.float32)
inputs,targets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment