public static IEnumerable <tflite.Operator> GetOperators(this tflite.SubGraph subGraph) { for (int i = 0; i < subGraph.OperatorsLength; i++) { yield return(subGraph.Operators(i).Value); } }
public TfLiteToGraphConverter(tflite.Model model, tflite.SubGraph graph) { _model = model; _graph = graph; _inputs = new Dictionary <InputConnector, int>(); _outputs = new Dictionary <int, OutputConnector>(); }