Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
johndpope committed Oct 10, 2024
1 parent 0c2abb1 commit db1fc31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions onnxconv.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
from onnx import shape_inference
import onnxruntime as ort

import onnx
from onnx import numpy_helper
import numpy as np
class IMFDecoder(nn.Module):
def __init__(self, model):
super(IMFDecoder, self).__init__()
Expand Down Expand Up @@ -68,9 +71,6 @@ def print_model_structure(model):
print(f" Bias shape: {module.bias.shape}")


import onnx
from onnx import numpy_helper
import numpy as np

def convert_float64_to_float32(tensor):
return onnx.helper.make_tensor(
Expand Down

0 comments on commit db1fc31

Please sign in to comment.