-
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hello!
Im trying to parse one of the files I have been working on adding compatibility for, and I am getting a strange error on Slice.
using Flux
using ONNX
using Umlaut
using ProtoBuf
function onnxtoumlaut(file_name::String, input_array::Array)
onnxfile = ONNX.load(file_name, input_array)
return onnxfile
end
function onnxtojuliafunc(file::String, input_array::Array)
onnxfile = onnxtoumlaut(file, input_array)
final_function= compile(onnxfile)
return final_function
end
my_func = onnxtojuliafunc("14_ieee_ml4acopf.onnx", ones(Float, 22, 1))this code throws this error
and here is the view from Roder's netron app
here is the ONNX file https://github.com/AI4OPT/ml4acopf_benchmark/tree/main/onnx
am I missing something about the shapes of my dummy input or has Slice not been implemented for the latest version of ONNX?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

