A set_all_representation function in the based autodp.Mechanism class. This function takes a mechanism object and simply set all description of the current mechanism to be that of the input mechanism. This is different from propogate_update because it does not try converting one representation to others, but simply take what is given. This is useful for declaring mechanism class using a mechanism object.
Adding Example 5 to tutorial_calibrator to illustrate how to do the above.
created using Transformers and Mechanisms.
Main updates are:
A
set_all_representation
function in the basedautodp.Mechanism
class. This function takes a mechanism object and simply set all description of the current mechanism to be that of the input mechanism. This is different frompropogate_update
because it does not try converting one representation to others, but simply take what is given. This is useful for declaring mechanism class using a mechanism object.Adding Example 5 to
tutorial_calibrator
to illustrate how to do the above.