Comments (3)
Potential extension for cyclical graphs: add parameter cycle_default_value
- the default value only to use when it's in a cycle, not standalone.
from mdf.
@pgleeson in addition to this:
snippet from src/modeci_mdf/execution_engine.py
def init(self, node: Node, verbose: Optional[bool] = False):
self.verbose = verbose
self.node = node
self.evaluable_inputs = {}
self.evaluable_parameters = OrderedDict()
self.evaluable_functions = OrderedDict()
self.evaluable_outputs = {}
Can using OrderedDict() be the reason for the existing constraint?
from mdf.
Not really. It's basically that one of the nodes in a cycle (e.g. A->B->C->A) needs to be flagged as "this is the one to start evaluating the nodes at". We will do this by stating that an input node has a default value, and that this can be used to start the evaluation, e.g. if A has a default value, you don't have the problem that you first need to evaluate the output of C, but before that the output of B, but before that A...
from mdf.
Related Issues (20)
- Remove sphinx pin to 3.x? HOT 1
- torch.fx to MDF
- Support for populations/templates HOT 1
- onnx 1.14 incompatibility HOT 2
- Py3.10 builds failing due to fastkde HOT 1
- simple_pytorch_to_mdf.py breaking in pytorch 2.0 HOT 2
- Example for testing with Keras->MDF conversion: 3D convolutional neural network HOT 1
- Refactor PyTorch_MDF examples to ease benchmarking HOT 2
- Keras to MDF HOT 1
- Support PyTorch v2.2.0
- Support latest graph_scheduler HOT 5
- ACTR importer condition typo? HOT 1
- Tasks/ Milestones HOT 1
- Missing Link to Functions List in Parameter Section in Documentation HOT 4
- Incorrect GitHub Edit Links in 'modeci_mdf' API Reference Section
- Failure of tests on macos-latest on graphviz setup step
- Allow parameters in Graph to be accessible from any node?
- pypi refusing to make new release as modeci requires verified email HOT 2
- Create a Streamlit based app to run a generic MDF model HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mdf.