--- /dev/null
+#ifndef __ANN_IR_INPUT_LIST_H__
+#define __ANN_IR_INPUT_LIST_H__
+
+#include "ANN/IR/OperandID.h"
+
+#include <vector>
+
+namespace ann
+{
+
+using InputList = std::vector<OperandID>;
+
+} // namespace ann
+
+#endif // __ANN_IR_INPUT_LIST_H__
#include "ANN/IR/WeightInventory.h"
#include "ANN/IR/OperandInventory.h"
#include "ANN/IR/OperationInventory.h"
+#include "ANN/IR/InputList.h"
+#include "ANN/IR/OutputList.h"
namespace ann
{
OperationInventory *operation(void) { return &_operation; }
const OperationInventory *operation(void) const { return &_operation; }
+ InputList *input(void) { return &_input; }
+ const InputList *input(void) const { return &_input; }
+
+ OutputList *output(void) { return &_output; }
+ const OutputList *output(void) const { return &_output; }
+
private:
WeightInventory _weight;
OperandInventory _operand;
OperationInventory _operation;
+ InputList _input;
+ OutputList _output;
};
} // namespace ann
--- /dev/null
+#ifndef __ANN_IR_OUTPUT_LIST_H__
+#define __ANN_IR_OUTPUT_LIST_H__
+
+#include "ANN/IR/OperandID.h"
+
+#include <vector>
+
+namespace ann
+{
+
+using OutputList = std::vector<OperandID>;
+
+} // namespace ann
+
+#endif // __ANN_IR_OUTPUT_LIST_H__