Added default operator impl with default producer-consumer model
Compare changes
Files
2@@ -18,11 +18,13 @@
@@ -31,13 +33,13 @@ public:
@@ -45,7 +47,7 @@ public:
@@ -53,15 +55,20 @@ public:
This update simplifies a lot the implementations, by providing a default producer-consumer model to the base OperatorImpl
class!
The change is relatively minor and should not jeopardize potential future refactoring around operators modeling.
For the default producer-consumer model, the assertion made is simple: the full input tensors are consumed and the full output tensors are produced at each forward execution. Futhermore, input tensors cannot be overwritten during execution (the operation is not in-place).
Copyright © Eclipse Foundation, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Copyright Agent