コード例 #1
0
 public static IEnumerable <tflite.Operator> GetOperators(this tflite.SubGraph subGraph)
 {
     for (int i = 0; i < subGraph.OperatorsLength; i++)
     {
         yield return(subGraph.Operators(i).Value);
     }
 }
コード例 #2
0
        public TfLiteToGraphConverter(tflite.Model model, tflite.SubGraph graph)
        {
            _model = model;
            _graph = graph;

            _inputs  = new Dictionary <InputConnector, int>();
            _outputs = new Dictionary <int, OutputConnector>();
        }