modeci-mdf Logo

Contents

  • ModECI Model Description Format (MDF)
    • Paper introducing MDF
    • Overview
    • Development
      • The core elements of the MDF standard
    • Installation
      • Requirements
      • Quick start
    • Examples
  • Quick Start Guide to MDF
    • Specification of MDF language
    • Installation of Python API
    • Examples of MDF
      • Simple examples
      • A step-by-step guide to using MDF
      • More complex examples
    • Export/import formats
      • Serialization formats
      • Currently supported environments
        • PyTorch
        • ONNX
        • NeuroML
        • PsyNeuLink
      • Planned environments to support
        • ACT-R
        • BIDS
    • Background to the ModECI Initiative
  • Paper introducing MDF
  • Installation
    • Requirements
    • Installation using pip
    • Installation from source
      • 1) Create a virtual environment (e.g. called mdf-env)
      • 2) Activate the virtual environment
      • 3) Clone this repository
      • 4) Change to the directory
      • 5) Install the package
    • Additional dependencies
    • Generating ModECI MDF documentation offline
    • Requirements
      • 1) Create a virtual environment with python
      • 2) Clone MDF repository from GitHub into your local machine
      • 3) Change into the MDF directory
      • 4) Install all MDF package into the virtual environment
      • 5) Change directory into sphinx folder
      • 6) Create offline documentation in sphinx folder
      • 7) Change directory into html folder and run the documentation offline
  • Contribution Guidelines
    • Before Contributing
    • Making Contributions
      • Steps to Contribute
        • Step 1
        • Step 2
        • Step 3
        • Step 4
        • Step 5
        • Step 6
        • Step 7
        • Step 8
        • Step 9
        • Step 10
    • Resources
    • Need more help?
  • ModECI contributors
    • Repositories

Specification

  • Specification of ModECI v0.4
  • Model
  • Graph
  • Node
  • InputPort
  • Function
  • Parameter
  • ParameterCondition
  • OutputPort
  • Edge
  • Condition
  • ConditionSet

Examples

  • MDF Examples
    • Simple example
    • ABCD
    • Arrays
    • States
    • Conditions
    • Parameters and Functions
    • Newton’s Law of Cooling
    • More examples

Export Formats

  • Interactions between MDF and ACT-R
    • Count Model
    • Addition Model
  • Interactions between NeuroML and MDF
    • 1) Converting NeuroML to MDF
    • 1.1) Simple ABCD model
      • 1.1.1) ABCD - NeuroMLlite version
      • 1.1.2) ABCD - NeuroML2 version
      • 1.1.3) ABCD - MDF version
    • 1.2) FitzHugh Nagumo cell models
      • 1.2.1) FN - NeuroML version
      • 1.2.2) FN - MDF version
      • 1.2.3) FN - Execute model using MDF
    • 1.3) Izhikevich cell models
      • 1.3.1) Izhikevich - NeuroML version
      • 1.3.2) Izhikevich - MDF version
      • 1.3.3) Izhikevich - Execute model using MDF
    • 2) Converting MDF to NeuroML/LEMS
  • ONNX MDF Converter
    • ONNX to MDF
      • AB Sequential Model - 2 nodes
      • ABC Sequential Model with Loop
      • ABCD Branching Conditional Model
  • Interactions between PsyNeuLink and MDF
    • Simple
      • ABCD
      • SimpleLinear
        • SimpleLinear-conditional
        • SimpleLinear-timing
    • Nested
      • Nested without scheduling
      • Nested with scheduling
    • SimpleFN
      • SimpleFN-timing
      • SimpleFN-conditional
    • Stroop
  • PyTorch and MDF
    • MDF to PyTorch
      • Examples
        • 1) Simple ABCD example
        • 2) Multi-Layer Perceptron MDF to PyTorch Conversion:
    • PyTorch to MDF
      • Examples of usage
        • 1) Simple PyTorch To MDF
        • 2) Inception Blocks Model
  • Interactions between MDF and Quantum computing technologies
  • MDF in WebGME
    • Quick Start
      • Starting WebGME app
      • Loading the spec into WebGME
      • Loading instances to and from WebGME importable JSON and MDF

Functions

  • Specification of standard functions in ModECI v0.4
    • Non-ONNX Functions
    • ONNX Functions
    • MatMul
    • Relu
    • arccos
    • arcsin
    • arctan
    • change_goal
    • check_termination
    • chunk_to_string
    • conflict_resolution_function
    • cos
    • cosh
    • drift_diffusion_integrator
    • exponential
    • linear
    • logistic
    • match_production
    • Abs
    • Acos
    • Acosh
    • Add
    • And
    • ArgMax
    • ArgMin
    • Asin
    • Asinh
    • Atan
    • Atanh
    • AveragePool
    • BatchNormalization
    • Bernoulli
    • BitShift
    • Cast
    • CastLike
    • Ceil
    • Celu
    • Clip
    • Compress
    • Concat
    • ConcatFromSequence
    • Constant
    • ConstantOfShape
    • Conv
    • ConvInteger
    • ConvTranspose
    • Cos
    • Cosh
    • CumSum
    • DepthToSpace
    • DequantizeLinear
    • Det
    • Div
    • Dropout
    • DynamicQuantizeLinear
    • Einsum
    • Elu
    • Equal
    • Erf
    • Exp
    • Expand
    • EyeLike
    • Flatten
    • Floor
    • GRU
    • Gather
    • GatherElements
    • GatherND
    • Gemm
    • GlobalAveragePool
    • GlobalLpPool
    • GlobalMaxPool
    • Greater
    • GreaterOrEqual
    • HardSigmoid
    • HardSwish
    • Hardmax
    • Identity
    • InstanceNormalization
    • IsInf
    • IsNaN
    • LRN
    • LSTM
    • LeakyRelu
    • Less
    • LessOrEqual
    • Log
    • LogSoftmax
    • LpNormalization
    • LpPool
    • MatMul
    • MatMulInteger
    • Max
    • MaxPool
    • MaxRoiPool
    • MaxUnpool
    • Mean
    • MeanVarianceNormalization
    • Min
    • Mod
    • Mul
    • Multinomial
    • Neg
    • NegativeLogLikelihoodLoss
    • NonMaxSuppression
    • NonZero
    • Not
    • OneHot
    • Optional
    • OptionalGetElement
    • OptionalHasElement
    • Or
    • PRelu
    • Pad
    • Pow
    • QLinearConv
    • QLinearMatMul
    • QuantizeLinear
    • RNN
    • RandomNormal
    • RandomNormalLike
    • RandomUniform
    • RandomUniformLike
    • Range
    • Reciprocal
    • ReduceL1
    • ReduceL2
    • ReduceLogSum
    • ReduceLogSumExp
    • ReduceMax
    • ReduceMean
    • ReduceMin
    • ReduceProd
    • ReduceSum
    • ReduceSumSquare
    • Relu
    • Reshape
    • Resize
    • ReverseSequence
    • RoiAlign
    • Round
    • Scatter
    • ScatterElements
    • ScatterND
    • Selu
    • SequenceAt
    • SequenceConstruct
    • SequenceEmpty
    • SequenceErase
    • SequenceInsert
    • SequenceLength
    • Shape
    • Shrink
    • Sigmoid
    • Sign
    • Sin
    • Sinh
    • Size
    • Slice
    • Softmax
    • SoftmaxCrossEntropyLoss
    • Softplus
    • Softsign
    • SpaceToDepth
    • Split
    • SplitToSequence
    • Sqrt
    • Squeeze
    • StringNormalizer
    • Sub
    • Sum
    • Tan
    • Tanh
    • TfIdfVectorizer
    • ThresholdedRelu
    • Tile
    • TopK
    • Transpose
    • Trilu
    • Unique
    • Unsqueeze
    • Upsample
    • Where
    • Xor
    • pattern_matching_function
    • pattern_to_string
    • retrieve_chunk
    • sin
    • sinh
    • tan
    • tanh
    • update_buffer
    • update_goal
    • update_retrieval

API Reference

  • modeci_mdf
    • modeci_mdf.execution_engine
      • modeci_mdf.execution_engine.evaluate_expr
        • evaluate_expr()
      • modeci_mdf.execution_engine.evaluate_onnx_expr
        • evaluate_onnx_expr()
      • modeci_mdf.execution_engine.get_required_variables_from_expression
        • get_required_variables_from_expression()
      • modeci_mdf.execution_engine.main
        • main()
      • modeci_mdf.execution_engine.EvaluableFunction
        • EvaluableFunction
          • EvaluableFunction.evaluate()
      • modeci_mdf.execution_engine.EvaluableGraph
        • EvaluableGraph
          • EvaluableGraph.evaluate()
          • EvaluableGraph.evaluate_edge()
          • EvaluableGraph.parse_condition()
      • modeci_mdf.execution_engine.EvaluableInput
        • EvaluableInput
          • EvaluableInput.set_input_value()
          • EvaluableInput.evaluate()
      • modeci_mdf.execution_engine.EvaluableNode
        • EvaluableNode
          • EvaluableNode.evaluate()
          • EvaluableNode.get_output()
      • modeci_mdf.execution_engine.EvaluableOutput
        • EvaluableOutput
          • EvaluableOutput.evaluate()
      • modeci_mdf.execution_engine.EvaluableParameter
        • EvaluableParameter
          • EvaluableParameter.get_current_value()
          • EvaluableParameter.evaluate()
    • modeci_mdf.full_translator
      • modeci_mdf.full_translator.convert_states_to_stateful_parameters
        • convert_states_to_stateful_parameters()
    • modeci_mdf.functions
      • modeci_mdf.functions.actr
        • modeci_mdf.functions.actr.change_goal
          • change_goal()
        • modeci_mdf.functions.actr.check_termination
          • check_termination()
        • modeci_mdf.functions.actr.chunk_to_string
          • chunk_to_string()
        • modeci_mdf.functions.actr.conflict_resolution_function
          • conflict_resolution_function()
        • modeci_mdf.functions.actr.match_production
          • match_production()
        • modeci_mdf.functions.actr.pattern_matching_function
          • pattern_matching_function()
        • modeci_mdf.functions.actr.pattern_to_string
          • pattern_to_string()
        • modeci_mdf.functions.actr.retrieve_chunk
          • retrieve_chunk()
        • modeci_mdf.functions.actr.update_buffer
          • update_buffer()
        • modeci_mdf.functions.actr.update_goal
          • update_goal()
        • modeci_mdf.functions.actr.update_retrieval
          • update_retrieval()
        • modeci_mdf.functions.actr.ccm
          • modeci_mdf.functions.actr.ccm.buffer
            • modeci_mdf.functions.actr.ccm.buffer.Buffer
              • Buffer
            • modeci_mdf.functions.actr.ccm.buffer.Chunk
              • Chunk
          • modeci_mdf.functions.actr.ccm.dm
            • modeci_mdf.functions.actr.ccm.dm.Associated
              • Associated
            • modeci_mdf.functions.actr.ccm.dm.BlendingMemory
              • BlendingMemory
            • modeci_mdf.functions.actr.ccm.dm.DMAssociate
              • DMAssociate
            • modeci_mdf.functions.actr.ccm.dm.DMBaseLevel
              • DMBaseLevel
            • modeci_mdf.functions.actr.ccm.dm.DMFixed
              • DMFixed
            • modeci_mdf.functions.actr.ccm.dm.DMInhibition
              • DMInhibition
            • modeci_mdf.functions.actr.ccm.dm.DMNoise
              • DMNoise
            • modeci_mdf.functions.actr.ccm.dm.DMSalience
              • DMSalience
            • modeci_mdf.functions.actr.ccm.dm.DMSpacing
              • DMSpacing
            • modeci_mdf.functions.actr.ccm.dm.DMSpreading
              • DMSpreading
            • modeci_mdf.functions.actr.ccm.dm.Finst
              • Finst
            • modeci_mdf.functions.actr.ccm.dm.Memory
              • Memory
            • modeci_mdf.functions.actr.ccm.dm.MemorySubModule
              • MemorySubModule
            • modeci_mdf.functions.actr.ccm.dm.Partial
              • Partial
          • modeci_mdf.functions.actr.ccm.logger
            • modeci_mdf.functions.actr.ccm.logger.file_exists
              • file_exists()
            • modeci_mdf.functions.actr.ccm.logger.finished
              • finished()
            • modeci_mdf.functions.actr.ccm.logger.log
              • log()
            • modeci_mdf.functions.actr.ccm.logger.DummyLog
              • DummyLog
            • modeci_mdf.functions.actr.ccm.logger.Log
              • Log
            • modeci_mdf.functions.actr.ccm.logger.LogProxy
              • LogProxy
            • modeci_mdf.functions.actr.ccm.logger.Trace
              • Trace
          • modeci_mdf.functions.actr.ccm.model
            • modeci_mdf.functions.actr.ccm.model.log_everything
              • log_everything()
            • modeci_mdf.functions.actr.ccm.model.MethodGeneratorWrapper
              • MethodGeneratorWrapper
                • MethodGeneratorWrapper.__call__()
            • modeci_mdf.functions.actr.ccm.model.MethodWrapper
              • MethodWrapper
                • MethodWrapper.__call__()
            • modeci_mdf.functions.actr.ccm.model.Model
              • Model
          • modeci_mdf.functions.actr.ccm.pattern
            • modeci_mdf.functions.actr.ccm.pattern.get
              • get()
            • modeci_mdf.functions.actr.ccm.pattern.parse
              • parse()
            • modeci_mdf.functions.actr.ccm.pattern.partialmatch
              • partialmatch()
            • modeci_mdf.functions.actr.ccm.pattern.Pattern
              • Pattern
            • modeci_mdf.functions.actr.ccm.pattern.PatternException
              • PatternException
          • modeci_mdf.functions.actr.ccm.scheduler
            • modeci_mdf.functions.actr.ccm.scheduler.Event
              • Event
            • modeci_mdf.functions.actr.ccm.scheduler.Scheduler
              • Scheduler
            • modeci_mdf.functions.actr.ccm.scheduler.Trigger
              • Trigger
            • modeci_mdf.functions.actr.ccm.scheduler.SchedulerError
              • SchedulerError
      • modeci_mdf.functions.ddm
        • modeci_mdf.functions.ddm.drift_diffusion_integrator
          • drift_diffusion_integrator()
      • modeci_mdf.functions.onnx
        • modeci_mdf.functions.onnx.abs
          • abs()
        • modeci_mdf.functions.onnx.acos
          • acos()
        • modeci_mdf.functions.onnx.acosh
          • acosh()
        • modeci_mdf.functions.onnx.add
          • add()
        • modeci_mdf.functions.onnx.and
          • and()
        • modeci_mdf.functions.onnx.argmax
          • argmax()
        • modeci_mdf.functions.onnx.argmin
          • argmin()
        • modeci_mdf.functions.onnx.asin
          • asin()
        • modeci_mdf.functions.onnx.asinh
          • asinh()
        • modeci_mdf.functions.onnx.atan
          • atan()
        • modeci_mdf.functions.onnx.atanh
          • atanh()
        • modeci_mdf.functions.onnx.averagepool
          • averagepool()
        • modeci_mdf.functions.onnx.batchnormalization
          • batchnormalization()
        • modeci_mdf.functions.onnx.bernoulli
          • bernoulli()
        • modeci_mdf.functions.onnx.bitshift
          • bitshift()
        • modeci_mdf.functions.onnx.cast
          • cast()
        • modeci_mdf.functions.onnx.castlike
          • castlike()
        • modeci_mdf.functions.onnx.ceil
          • ceil()
        • modeci_mdf.functions.onnx.celu
          • celu()
        • modeci_mdf.functions.onnx.clip
          • clip()
        • modeci_mdf.functions.onnx.compress
          • compress()
        • modeci_mdf.functions.onnx.concat
          • concat()
        • modeci_mdf.functions.onnx.concatfromsequence
          • concatfromsequence()
        • modeci_mdf.functions.onnx.constant
          • constant()
        • modeci_mdf.functions.onnx.constantofshape
          • constantofshape()
        • modeci_mdf.functions.onnx.conv
          • conv()
        • modeci_mdf.functions.onnx.convert_type
          • convert_type()
        • modeci_mdf.functions.onnx.convinteger
          • convinteger()
        • modeci_mdf.functions.onnx.convtranspose
          • convtranspose()
        • modeci_mdf.functions.onnx.cos
          • cos()
        • modeci_mdf.functions.onnx.cosh
          • cosh()
        • modeci_mdf.functions.onnx.cumsum
          • cumsum()
        • modeci_mdf.functions.onnx.depthtospace
          • depthtospace()
        • modeci_mdf.functions.onnx.dequantizelinear
          • dequantizelinear()
        • modeci_mdf.functions.onnx.det
          • det()
        • modeci_mdf.functions.onnx.div
          • div()
        • modeci_mdf.functions.onnx.dropout
          • dropout()
        • modeci_mdf.functions.onnx.dynamicquantizelinear
          • dynamicquantizelinear()
        • modeci_mdf.functions.onnx.einsum
          • einsum()
        • modeci_mdf.functions.onnx.elu
          • elu()
        • modeci_mdf.functions.onnx.equal
          • equal()
        • modeci_mdf.functions.onnx.erf
          • erf()
        • modeci_mdf.functions.onnx.exp
          • exp()
        • modeci_mdf.functions.onnx.expand
          • expand()
        • modeci_mdf.functions.onnx.eyelike
          • eyelike()
        • modeci_mdf.functions.onnx.flatten
          • flatten()
        • modeci_mdf.functions.onnx.floor
          • floor()
        • modeci_mdf.functions.onnx.gather
          • gather()
        • modeci_mdf.functions.onnx.gatherelements
          • gatherelements()
        • modeci_mdf.functions.onnx.gathernd
          • gathernd()
        • modeci_mdf.functions.onnx.gemm
          • gemm()
        • modeci_mdf.functions.onnx.get_all_schemas_version
          • get_all_schemas_version()
        • modeci_mdf.functions.onnx.get_onnx_ops
          • get_onnx_ops()
        • modeci_mdf.functions.onnx.get_onnx_schema
          • get_onnx_schema()
        • modeci_mdf.functions.onnx.globalaveragepool
          • globalaveragepool()
        • modeci_mdf.functions.onnx.globallppool
          • globallppool()
        • modeci_mdf.functions.onnx.globalmaxpool
          • globalmaxpool()
        • modeci_mdf.functions.onnx.greater
          • greater()
        • modeci_mdf.functions.onnx.greaterorequal
          • greaterorequal()
        • modeci_mdf.functions.onnx.gru
          • gru()
        • modeci_mdf.functions.onnx.hardmax
          • hardmax()
        • modeci_mdf.functions.onnx.hardsigmoid
          • hardsigmoid()
        • modeci_mdf.functions.onnx.hardswish
          • hardswish()
        • modeci_mdf.functions.onnx.identity
          • identity()
        • modeci_mdf.functions.onnx.if
          • if()
        • modeci_mdf.functions.onnx.import_class
          • import_class()
        • modeci_mdf.functions.onnx.instancenormalization
          • instancenormalization()
        • modeci_mdf.functions.onnx.isinf
          • isinf()
        • modeci_mdf.functions.onnx.isnan
          • isnan()
        • modeci_mdf.functions.onnx.leakyrelu
          • leakyrelu()
        • modeci_mdf.functions.onnx.less
          • less()
        • modeci_mdf.functions.onnx.lessorequal
          • lessorequal()
        • modeci_mdf.functions.onnx.log
          • log()
        • modeci_mdf.functions.onnx.logsoftmax
          • logsoftmax()
        • modeci_mdf.functions.onnx.loop
          • loop()
        • modeci_mdf.functions.onnx.lpnormalization
          • lpnormalization()
        • modeci_mdf.functions.onnx.lppool
          • lppool()
        • modeci_mdf.functions.onnx.lrn
          • lrn()
        • modeci_mdf.functions.onnx.lstm
          • lstm()
        • modeci_mdf.functions.onnx.matmul
          • matmul()
        • modeci_mdf.functions.onnx.matmulinteger
          • matmulinteger()
        • modeci_mdf.functions.onnx.max
          • max()
        • modeci_mdf.functions.onnx.maxpool
          • maxpool()
        • modeci_mdf.functions.onnx.maxroipool
          • maxroipool()
        • modeci_mdf.functions.onnx.maxunpool
          • maxunpool()
        • modeci_mdf.functions.onnx.mean
          • mean()
        • modeci_mdf.functions.onnx.meanvariancenormalization
          • meanvariancenormalization()
        • modeci_mdf.functions.onnx.min
          • min()
        • modeci_mdf.functions.onnx.mod
          • mod()
        • modeci_mdf.functions.onnx.mul
          • mul()
        • modeci_mdf.functions.onnx.multinomial
          • multinomial()
        • modeci_mdf.functions.onnx.neg
          • neg()
        • modeci_mdf.functions.onnx.negativeloglikelihoodloss
          • negativeloglikelihoodloss()
        • modeci_mdf.functions.onnx.nonmaxsuppression
          • nonmaxsuppression()
        • modeci_mdf.functions.onnx.nonzero
          • nonzero()
        • modeci_mdf.functions.onnx.not
          • not()
        • modeci_mdf.functions.onnx.onehot
          • onehot()
        • modeci_mdf.functions.onnx.optional
          • optional()
        • modeci_mdf.functions.onnx.optionalgetelement
          • optionalgetelement()
        • modeci_mdf.functions.onnx.optionalhaselement
          • optionalhaselement()
        • modeci_mdf.functions.onnx.or
          • or()
        • modeci_mdf.functions.onnx.pad
          • pad()
        • modeci_mdf.functions.onnx.pow
          • pow()
        • modeci_mdf.functions.onnx.predict_with_onnxruntime
          • predict_with_onnxruntime()
        • modeci_mdf.functions.onnx.prelu
          • prelu()
        • modeci_mdf.functions.onnx.qlinearconv
          • qlinearconv()
        • modeci_mdf.functions.onnx.qlinearmatmul
          • qlinearmatmul()
        • modeci_mdf.functions.onnx.quantizelinear
          • quantizelinear()
        • modeci_mdf.functions.onnx.randomnormal
          • randomnormal()
        • modeci_mdf.functions.onnx.randomnormallike
          • randomnormallike()
        • modeci_mdf.functions.onnx.randomuniform
          • randomuniform()
        • modeci_mdf.functions.onnx.randomuniformlike
          • randomuniformlike()
        • modeci_mdf.functions.onnx.range
          • range()
        • modeci_mdf.functions.onnx.reciprocal
          • reciprocal()
        • modeci_mdf.functions.onnx.reducel1
          • reducel1()
        • modeci_mdf.functions.onnx.reducel2
          • reducel2()
        • modeci_mdf.functions.onnx.reducelogsum
          • reducelogsum()
        • modeci_mdf.functions.onnx.reducelogsumexp
          • reducelogsumexp()
        • modeci_mdf.functions.onnx.reducemax
          • reducemax()
        • modeci_mdf.functions.onnx.reducemean
          • reducemean()
        • modeci_mdf.functions.onnx.reducemin
          • reducemin()
        • modeci_mdf.functions.onnx.reduceprod
          • reduceprod()
        • modeci_mdf.functions.onnx.reducesum
          • reducesum()
        • modeci_mdf.functions.onnx.reducesumsquare
          • reducesumsquare()
        • modeci_mdf.functions.onnx.relu
          • relu()
        • modeci_mdf.functions.onnx.reshape
          • reshape()
        • modeci_mdf.functions.onnx.resize
          • resize()
        • modeci_mdf.functions.onnx.reversesequence
          • reversesequence()
        • modeci_mdf.functions.onnx.rnn
          • rnn()
        • modeci_mdf.functions.onnx.roialign
          • roialign()
        • modeci_mdf.functions.onnx.round
          • round()
        • modeci_mdf.functions.onnx.run_onnx_op
          • run_onnx_op()
        • modeci_mdf.functions.onnx.scan
          • scan()
        • modeci_mdf.functions.onnx.scatter
          • scatter()
        • modeci_mdf.functions.onnx.scatterelements
          • scatterelements()
        • modeci_mdf.functions.onnx.scatternd
          • scatternd()
        • modeci_mdf.functions.onnx.selu
          • selu()
        • modeci_mdf.functions.onnx.sequenceat
          • sequenceat()
        • modeci_mdf.functions.onnx.sequenceconstruct
          • sequenceconstruct()
        • modeci_mdf.functions.onnx.sequenceempty
          • sequenceempty()
        • modeci_mdf.functions.onnx.sequenceerase
          • sequenceerase()
        • modeci_mdf.functions.onnx.sequenceinsert
          • sequenceinsert()
        • modeci_mdf.functions.onnx.sequencelength
          • sequencelength()
        • modeci_mdf.functions.onnx.shape
          • shape()
        • modeci_mdf.functions.onnx.shrink
          • shrink()
        • modeci_mdf.functions.onnx.sigmoid
          • sigmoid()
        • modeci_mdf.functions.onnx.sign
          • sign()
        • modeci_mdf.functions.onnx.sin
          • sin()
        • modeci_mdf.functions.onnx.sinh
          • sinh()
        • modeci_mdf.functions.onnx.size
          • size()
        • modeci_mdf.functions.onnx.slice
          • slice()
        • modeci_mdf.functions.onnx.softmax
          • softmax()
        • modeci_mdf.functions.onnx.softmaxcrossentropyloss
          • softmaxcrossentropyloss()
        • modeci_mdf.functions.onnx.softplus
          • softplus()
        • modeci_mdf.functions.onnx.softsign
          • softsign()
        • modeci_mdf.functions.onnx.spacetodepth
          • spacetodepth()
        • modeci_mdf.functions.onnx.split
          • split()
        • modeci_mdf.functions.onnx.splittosequence
          • splittosequence()
        • modeci_mdf.functions.onnx.sqrt
          • sqrt()
        • modeci_mdf.functions.onnx.squeeze
          • squeeze()
        • modeci_mdf.functions.onnx.stringnormalizer
          • stringnormalizer()
        • modeci_mdf.functions.onnx.sub
          • sub()
        • modeci_mdf.functions.onnx.sum
          • sum()
        • modeci_mdf.functions.onnx.tan
          • tan()
        • modeci_mdf.functions.onnx.tanh
          • tanh()
        • modeci_mdf.functions.onnx.tfidfvectorizer
          • tfidfvectorizer()
        • modeci_mdf.functions.onnx.thresholdedrelu
          • thresholdedrelu()
        • modeci_mdf.functions.onnx.tile
          • tile()
        • modeci_mdf.functions.onnx.topk
          • topk()
        • modeci_mdf.functions.onnx.transpose
          • transpose()
        • modeci_mdf.functions.onnx.trilu
          • trilu()
        • modeci_mdf.functions.onnx.unique
          • unique()
        • modeci_mdf.functions.onnx.unsqueeze
          • unsqueeze()
        • modeci_mdf.functions.onnx.upsample
          • upsample()
        • modeci_mdf.functions.onnx.where
          • where()
        • modeci_mdf.functions.onnx.xor
          • xor()
      • modeci_mdf.functions.standard
        • modeci_mdf.functions.standard.add_function_from_callable
          • add_function_from_callable()
        • modeci_mdf.functions.standard.add_mdf_function
          • add_mdf_function()
        • modeci_mdf.functions.standard.add_public_functions_from_module
          • add_public_functions_from_module()
        • modeci_mdf.functions.standard.create_python_expression
          • create_python_expression()
        • modeci_mdf.functions.standard.create_python_function
          • create_python_function()
        • modeci_mdf.functions.standard.parse_description_and_args
          • parse_description_and_args()
        • modeci_mdf.functions.standard.substitute_args
          • substitute_args()
    • modeci_mdf.interfaces
      • modeci_mdf.interfaces.actr
        • modeci_mdf.interfaces.actr.importer
          • modeci_mdf.interfaces.actr.importer.actr_to_mdf
            • actr_to_mdf()
          • modeci_mdf.interfaces.actr.importer.build_model
            • build_model()
      • modeci_mdf.interfaces.graphviz
        • modeci_mdf.interfaces.graphviz.exporter
          • modeci_mdf.interfaces.graphviz.exporter.format_bold
            • format_bold()
          • modeci_mdf.interfaces.graphviz.exporter.format_condition
            • format_condition()
          • modeci_mdf.interfaces.graphviz.exporter.format_function
            • format_function()
          • modeci_mdf.interfaces.graphviz.exporter.format_input
            • format_input()
          • modeci_mdf.interfaces.graphviz.exporter.format_label
            • format_label()
          • modeci_mdf.interfaces.graphviz.exporter.format_num
            • format_num()
          • modeci_mdf.interfaces.graphviz.exporter.format_output
            • format_output()
          • modeci_mdf.interfaces.graphviz.exporter.format_param
            • format_param()
          • modeci_mdf.interfaces.graphviz.exporter.format_standard_func
            • format_standard_func()
          • modeci_mdf.interfaces.graphviz.exporter.format_standard_func_long
            • format_standard_func_long()
          • modeci_mdf.interfaces.graphviz.exporter.format_term_condition
            • format_term_condition()
          • modeci_mdf.interfaces.graphviz.exporter.match_in_expr
            • match_in_expr()
          • modeci_mdf.interfaces.graphviz.exporter.mdf_to_graphviz
            • mdf_to_graphviz()
          • modeci_mdf.interfaces.graphviz.exporter.safe_comparitor
            • safe_comparitor()
      • modeci_mdf.interfaces.onnx
        • modeci_mdf.interfaces.onnx.exporter
          • modeci_mdf.interfaces.onnx.exporter.convert_mdf_file_to_onnx
            • convert_mdf_file_to_onnx()
          • modeci_mdf.interfaces.onnx.exporter.generate_onnx_graph
            • generate_onnx_graph()
          • modeci_mdf.interfaces.onnx.exporter.generate_onnx_node
            • generate_onnx_node()
          • modeci_mdf.interfaces.onnx.exporter.main
            • main()
          • modeci_mdf.interfaces.onnx.exporter.mdf_to_onnx
            • mdf_to_onnx()
        • modeci_mdf.interfaces.onnx.importer
          • modeci_mdf.interfaces.onnx.importer.convert_file
            • convert_file()
          • modeci_mdf.interfaces.onnx.importer.find_subgraphs
            • find_subgraphs()
          • modeci_mdf.interfaces.onnx.importer.get_category_of_onnx_node
            • get_category_of_onnx_node()
          • modeci_mdf.interfaces.onnx.importer.get_color_for_onnx_category
            • get_color_for_onnx_category()
          • modeci_mdf.interfaces.onnx.importer.get_onnx_attribute
            • get_onnx_attribute()
          • modeci_mdf.interfaces.onnx.importer.get_shape_params
            • get_shape_params()
          • modeci_mdf.interfaces.onnx.importer.id_to_port
            • id_to_port()
          • modeci_mdf.interfaces.onnx.importer.main
            • main()
          • modeci_mdf.interfaces.onnx.importer.onnx_node_to_mdf
            • onnx_node_to_mdf()
          • modeci_mdf.interfaces.onnx.importer.onnx_to_mdf
            • onnx_to_mdf()
    • modeci_mdf.mdf
      • modeci_mdf.mdf.parsed_structure_factory
        • parsed_structure_factory()
      • modeci_mdf.mdf.parsed_unstructure_factory
        • parsed_unstructure_factory()
      • modeci_mdf.mdf.v
        • v()
      • modeci_mdf.mdf.Condition
        • Condition
      • modeci_mdf.mdf.ConditionSet
        • ConditionSet
      • modeci_mdf.mdf.Edge
        • Edge
      • modeci_mdf.mdf.Function
        • Function
      • modeci_mdf.mdf.Graph
        • Graph
          • Graph.get_node()
          • Graph.dependency_dict
          • Graph.inputs
      • modeci_mdf.mdf.InputPort
        • InputPort
      • modeci_mdf.mdf.Model
        • Model
          • Model.to_graph_image()
      • modeci_mdf.mdf.Node
        • Node
          • Node.get_parameter()
          • Node.get_input_port()
          • Node.get_output_port()
      • modeci_mdf.mdf.OutputPort
        • OutputPort
      • modeci_mdf.mdf.Parameter
        • Parameter
          • Parameter.summary()
          • Parameter.is_stateful()
      • modeci_mdf.mdf.ParameterCondition
        • ParameterCondition
    • modeci_mdf.utils
      • modeci_mdf.utils.color_rgb_to_hex
        • color_rgb_to_hex()
      • modeci_mdf.utils.create_example_node
        • create_example_node()
      • modeci_mdf.utils.is_number
        • is_number()
      • modeci_mdf.utils.load_mdf
        • load_mdf()
      • modeci_mdf.utils.load_mdf_json
        • load_mdf_json()
      • modeci_mdf.utils.load_mdf_yaml
        • load_mdf_yaml()
      • modeci_mdf.utils.print_summary
        • print_summary()
      • modeci_mdf.utils.simple_connect
        • simple_connect()
modeci-mdf
  • Interactions between PsyNeuLink and MDF

Interactions between PsyNeuLink and MDF

Simple

ABCD

Python source | JSON | Reconstructed source

An example with four Nodes, as in other environments.

SimpleLinear

SimpleLinear-conditional

Python source | JSON | Reconstructed source

A three-Node example with Conditions.

SimpleLinear-timing

Python source | JSON | Reconstructed source

The same model as in SimpleLinear-conditional with Conditions for timeline scheduling. Note: these conditions are still not fully implemented by the scheduler.

Nested

Nested without scheduling

Python source | JSON | Reconstructed source

A model with several Nodes in two Graphs, one of which contains the other.

Nested with scheduling

Python source | JSON | Reconstructed source

A similar model as in Nested without scheduling with Conditions.

SimpleFN

Python source | JSON | Reconstructed source

An example with a single Node using the PsyNeuLink implementation of the FitzHugh–Nagumo model.

SimpleFN-timing

Python source | JSON | Reconstructed source

The same model as in SimpleFN with Conditions for timeline scheduling. Note: these conditions are still not fully implemented by the scheduler.

SimpleFN-conditional

Python source | JSON | Reconstructed source

The same model in SimpleFN with scheduling Conditions that mimic the behavior in SimpleFN-timing.

Stroop

Python source | JSON | Reconstructed source

A model representing the Stroop effect with conflict monitoring that uses Conditions.

Previous Next

© Copyright 2023, ModECI project.

Built with Sphinx using a theme provided by Read the Docs.