Integrate native Tensorflow Learning API to C3 Model Learning #105
Labels
can-wait
Not working, not urgent
enhancement
New feature or request
good first issue
Good for newcomers
tensorflow
Tensorflow Performance and Implementation
Is your feature request related to a problem? Please describe
Current implementation of Model Learning (C_3 step) suggests duplication of code and lack of integration/reuse with existing solutions (possible case of NIH syndrome).
Describe the solution you'd like
Integrate C3 Model Learning with the Tensorflow ML ecosystem by extending
Model
andLayer
to wrap C3 computations and state.Advantages of this approach
Describe alternatives you've considered
Status/Steps
Useful refs here and here
layer
to encapsulate the computations and state (model parameters) of thec3-tf-simulator
w
andb
)call()
) based on the gateset and the sequences as defined in the experimental dataadd_loss()
functionadd_metric()
function to track a FOM during trainingmodel
to expose thefit()
,evaluate()
andpredict()
(ref here)save()
,save_weights()
etcc3-tf-simulator
and general neural network layers as defined in Tensorflow works as expectedPossible Gotchas in this approach
Layer
style classtf.function
decorators without adequate reasoning,tf.Variable
vstf.Constant
usage,GradientTape
etc which might make integration with the standard native TF learning API possibly inefficient, buggy and difficult to keep up with TF changes and developments. However, adopting the TF API ensures we are continuously able to build on and fully tap into the large ecosystem of ML tools and solutions.The text was updated successfully, but these errors were encountered: