Update PyTorchTraining.py
Browse files- PyTorchTraining.py +1 -1
PyTorchTraining.py
CHANGED
@@ -3,7 +3,7 @@ import torch.onnx
|
|
3 |
#Function to Convert to ONNX
|
4 |
def Convert_ONNX():
|
5 |
|
6 |
-
# set the model to inference
|
7 |
model.eval()
|
8 |
|
9 |
# Let's create a dummy input tensor
|
|
|
3 |
#Function to Convert to ONNX
|
4 |
def Convert_ONNX():
|
5 |
|
6 |
+
# set the model to inference mode123
|
7 |
model.eval()
|
8 |
|
9 |
# Let's create a dummy input tensor
|