ModECI Model Description Format (MDF)
MDF is an open source, community-supported standard and associated library of tools for expressing computational models in a form that allows them to be exchanged between diverse programming languages and execution environments. The overarching aim is to provide a common format for models across computational neuroscience, cognitive science and machine learning.
It consists of a specification for expressing models in serialized form (currently JSON, YAML or BSON representations, though others such as HDF5 are planned) and a set of Python tools for implementing a model described using MDF. The serialized formats can be used when importing a model into a supported target environment to execute it; and, conversely, when exporting a model built in a supported environment so that it can be re-used in other environments.
- Specification of standard functions in ModECI v0.4
- Non-ONNX Functions
- ONNX Functions
- MatMul
- Relu
- 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
- modeci_mdf
- modeci_mdf.execution_engine
- modeci_mdf.execution_engine.evaluate_expr
- modeci_mdf.execution_engine.evaluate_onnx_expr
- modeci_mdf.execution_engine.get_required_variables_from_expression
- modeci_mdf.execution_engine.main
- modeci_mdf.execution_engine.EvaluableFunction
- modeci_mdf.execution_engine.EvaluableGraph
- modeci_mdf.execution_engine.EvaluableInput
- modeci_mdf.execution_engine.EvaluableNode
- modeci_mdf.execution_engine.EvaluableOutput
- modeci_mdf.execution_engine.EvaluableParameter
- modeci_mdf.full_translator
- modeci_mdf.functions
- modeci_mdf.functions.actr
- modeci_mdf.functions.actr.change_goal
- modeci_mdf.functions.actr.check_termination
- modeci_mdf.functions.actr.chunk_to_string
- modeci_mdf.functions.actr.conflict_resolution_function
- modeci_mdf.functions.actr.match_production
- modeci_mdf.functions.actr.pattern_matching_function
- modeci_mdf.functions.actr.pattern_to_string
- modeci_mdf.functions.actr.retrieve_chunk
- modeci_mdf.functions.actr.update_buffer
- modeci_mdf.functions.actr.update_goal
- modeci_mdf.functions.actr.update_retrieval
- modeci_mdf.functions.actr.ccm
- modeci_mdf.functions.actr.ccm.buffer
- modeci_mdf.functions.actr.ccm.dm
- modeci_mdf.functions.actr.ccm.dm.Associated
- modeci_mdf.functions.actr.ccm.dm.BlendingMemory
- modeci_mdf.functions.actr.ccm.dm.DMAssociate
- modeci_mdf.functions.actr.ccm.dm.DMBaseLevel
- modeci_mdf.functions.actr.ccm.dm.DMFixed
- modeci_mdf.functions.actr.ccm.dm.DMInhibition
- modeci_mdf.functions.actr.ccm.dm.DMNoise
- modeci_mdf.functions.actr.ccm.dm.DMSalience
- modeci_mdf.functions.actr.ccm.dm.DMSpacing
- modeci_mdf.functions.actr.ccm.dm.DMSpreading
- modeci_mdf.functions.actr.ccm.dm.Finst
- modeci_mdf.functions.actr.ccm.dm.Memory
- modeci_mdf.functions.actr.ccm.dm.MemorySubModule
- modeci_mdf.functions.actr.ccm.dm.Partial
- modeci_mdf.functions.actr.ccm.logger
- modeci_mdf.functions.actr.ccm.logger.file_exists
- modeci_mdf.functions.actr.ccm.logger.finished
- modeci_mdf.functions.actr.ccm.logger.log
- modeci_mdf.functions.actr.ccm.logger.DummyLog
- modeci_mdf.functions.actr.ccm.logger.Log
- modeci_mdf.functions.actr.ccm.logger.LogProxy
- modeci_mdf.functions.actr.ccm.logger.Trace
- modeci_mdf.functions.actr.ccm.model
- modeci_mdf.functions.actr.ccm.pattern
- modeci_mdf.functions.actr.ccm.scheduler
- modeci_mdf.functions.ddm
- modeci_mdf.functions.onnx
- modeci_mdf.functions.onnx.abs
- modeci_mdf.functions.onnx.acos
- modeci_mdf.functions.onnx.acosh
- modeci_mdf.functions.onnx.add
- modeci_mdf.functions.onnx.and
- modeci_mdf.functions.onnx.argmax
- modeci_mdf.functions.onnx.argmin
- modeci_mdf.functions.onnx.asin
- modeci_mdf.functions.onnx.asinh
- modeci_mdf.functions.onnx.atan
- modeci_mdf.functions.onnx.atanh
- modeci_mdf.functions.onnx.averagepool
- modeci_mdf.functions.onnx.batchnormalization
- modeci_mdf.functions.onnx.bernoulli
- modeci_mdf.functions.onnx.bitshift
- modeci_mdf.functions.onnx.cast
- modeci_mdf.functions.onnx.castlike
- modeci_mdf.functions.onnx.ceil
- modeci_mdf.functions.onnx.celu
- modeci_mdf.functions.onnx.clip
- modeci_mdf.functions.onnx.compress
- modeci_mdf.functions.onnx.concat
- modeci_mdf.functions.onnx.concatfromsequence
- modeci_mdf.functions.onnx.constant
- modeci_mdf.functions.onnx.constantofshape
- modeci_mdf.functions.onnx.conv
- modeci_mdf.functions.onnx.convert_type
- modeci_mdf.functions.onnx.convinteger
- modeci_mdf.functions.onnx.convtranspose
- modeci_mdf.functions.onnx.cos
- modeci_mdf.functions.onnx.cosh
- modeci_mdf.functions.onnx.cumsum
- modeci_mdf.functions.onnx.depthtospace
- modeci_mdf.functions.onnx.dequantizelinear
- modeci_mdf.functions.onnx.det
- modeci_mdf.functions.onnx.div
- modeci_mdf.functions.onnx.dropout
- modeci_mdf.functions.onnx.dynamicquantizelinear
- modeci_mdf.functions.onnx.einsum
- modeci_mdf.functions.onnx.elu
- modeci_mdf.functions.onnx.equal
- modeci_mdf.functions.onnx.erf
- modeci_mdf.functions.onnx.exp
- modeci_mdf.functions.onnx.expand
- modeci_mdf.functions.onnx.eyelike
- modeci_mdf.functions.onnx.flatten
- modeci_mdf.functions.onnx.floor
- modeci_mdf.functions.onnx.gather
- modeci_mdf.functions.onnx.gatherelements
- modeci_mdf.functions.onnx.gathernd
- modeci_mdf.functions.onnx.gemm
- modeci_mdf.functions.onnx.get_all_schemas_version
- modeci_mdf.functions.onnx.get_onnx_ops
- modeci_mdf.functions.onnx.get_onnx_schema
- modeci_mdf.functions.onnx.globalaveragepool
- modeci_mdf.functions.onnx.globallppool
- modeci_mdf.functions.onnx.globalmaxpool
- modeci_mdf.functions.onnx.greater
- modeci_mdf.functions.onnx.greaterorequal
- modeci_mdf.functions.onnx.gru
- modeci_mdf.functions.onnx.hardmax
- modeci_mdf.functions.onnx.hardsigmoid
- modeci_mdf.functions.onnx.hardswish
- modeci_mdf.functions.onnx.identity
- modeci_mdf.functions.onnx.if
- modeci_mdf.functions.onnx.import_class
- modeci_mdf.functions.onnx.instancenormalization
- modeci_mdf.functions.onnx.isinf
- modeci_mdf.functions.onnx.isnan
- modeci_mdf.functions.onnx.leakyrelu
- modeci_mdf.functions.onnx.less
- modeci_mdf.functions.onnx.lessorequal
- modeci_mdf.functions.onnx.log
- modeci_mdf.functions.onnx.logsoftmax
- modeci_mdf.functions.onnx.loop
- modeci_mdf.functions.onnx.lpnormalization
- modeci_mdf.functions.onnx.lppool
- modeci_mdf.functions.onnx.lrn
- modeci_mdf.functions.onnx.lstm
- modeci_mdf.functions.onnx.matmul
- modeci_mdf.functions.onnx.matmulinteger
- modeci_mdf.functions.onnx.max
- modeci_mdf.functions.onnx.maxpool
- modeci_mdf.functions.onnx.maxroipool
- modeci_mdf.functions.onnx.maxunpool
- modeci_mdf.functions.onnx.mean
- modeci_mdf.functions.onnx.meanvariancenormalization
- modeci_mdf.functions.onnx.min
- modeci_mdf.functions.onnx.mod
- modeci_mdf.functions.onnx.mul
- modeci_mdf.functions.onnx.multinomial
- modeci_mdf.functions.onnx.neg
- modeci_mdf.functions.onnx.negativeloglikelihoodloss
- modeci_mdf.functions.onnx.nonmaxsuppression
- modeci_mdf.functions.onnx.nonzero
- modeci_mdf.functions.onnx.not
- modeci_mdf.functions.onnx.onehot
- modeci_mdf.functions.onnx.optional
- modeci_mdf.functions.onnx.optionalgetelement
- modeci_mdf.functions.onnx.optionalhaselement
- modeci_mdf.functions.onnx.or
- modeci_mdf.functions.onnx.pad
- modeci_mdf.functions.onnx.pow
- modeci_mdf.functions.onnx.predict_with_onnxruntime
- modeci_mdf.functions.onnx.prelu
- modeci_mdf.functions.onnx.qlinearconv
- modeci_mdf.functions.onnx.qlinearmatmul
- modeci_mdf.functions.onnx.quantizelinear
- modeci_mdf.functions.onnx.randomnormal
- modeci_mdf.functions.onnx.randomnormallike
- modeci_mdf.functions.onnx.randomuniform
- modeci_mdf.functions.onnx.randomuniformlike
- modeci_mdf.functions.onnx.range
- modeci_mdf.functions.onnx.reciprocal
- modeci_mdf.functions.onnx.reducel1
- modeci_mdf.functions.onnx.reducel2
- modeci_mdf.functions.onnx.reducelogsum
- modeci_mdf.functions.onnx.reducelogsumexp
- modeci_mdf.functions.onnx.reducemax
- modeci_mdf.functions.onnx.reducemean
- modeci_mdf.functions.onnx.reducemin
- modeci_mdf.functions.onnx.reduceprod
- modeci_mdf.functions.onnx.reducesum
- modeci_mdf.functions.onnx.reducesumsquare
- modeci_mdf.functions.onnx.relu
- modeci_mdf.functions.onnx.reshape
- modeci_mdf.functions.onnx.resize
- modeci_mdf.functions.onnx.reversesequence
- modeci_mdf.functions.onnx.rnn
- modeci_mdf.functions.onnx.roialign
- modeci_mdf.functions.onnx.round
- modeci_mdf.functions.onnx.run_onnx_op
- modeci_mdf.functions.onnx.scan
- modeci_mdf.functions.onnx.scatter
- modeci_mdf.functions.onnx.scatterelements
- modeci_mdf.functions.onnx.scatternd
- modeci_mdf.functions.onnx.selu
- modeci_mdf.functions.onnx.sequenceat
- modeci_mdf.functions.onnx.sequenceconstruct
- modeci_mdf.functions.onnx.sequenceempty
- modeci_mdf.functions.onnx.sequenceerase
- modeci_mdf.functions.onnx.sequenceinsert
- modeci_mdf.functions.onnx.sequencelength
- modeci_mdf.functions.onnx.shape
- modeci_mdf.functions.onnx.shrink
- modeci_mdf.functions.onnx.sigmoid
- modeci_mdf.functions.onnx.sign
- modeci_mdf.functions.onnx.sin
- modeci_mdf.functions.onnx.sinh
- modeci_mdf.functions.onnx.size
- modeci_mdf.functions.onnx.slice
- modeci_mdf.functions.onnx.softmax
- modeci_mdf.functions.onnx.softmaxcrossentropyloss
- modeci_mdf.functions.onnx.softplus
- modeci_mdf.functions.onnx.softsign
- modeci_mdf.functions.onnx.spacetodepth
- modeci_mdf.functions.onnx.split
- modeci_mdf.functions.onnx.splittosequence
- modeci_mdf.functions.onnx.sqrt
- modeci_mdf.functions.onnx.squeeze
- modeci_mdf.functions.onnx.stringnormalizer
- modeci_mdf.functions.onnx.sub
- modeci_mdf.functions.onnx.sum
- modeci_mdf.functions.onnx.tan
- modeci_mdf.functions.onnx.tanh
- modeci_mdf.functions.onnx.tfidfvectorizer
- modeci_mdf.functions.onnx.thresholdedrelu
- modeci_mdf.functions.onnx.tile
- modeci_mdf.functions.onnx.topk
- modeci_mdf.functions.onnx.transpose
- modeci_mdf.functions.onnx.trilu
- modeci_mdf.functions.onnx.unique
- modeci_mdf.functions.onnx.unsqueeze
- modeci_mdf.functions.onnx.upsample
- modeci_mdf.functions.onnx.where
- modeci_mdf.functions.onnx.xor
- modeci_mdf.functions.standard
- modeci_mdf.functions.standard.add_function_from_callable
- modeci_mdf.functions.standard.add_mdf_function
- modeci_mdf.functions.standard.add_public_functions_from_module
- modeci_mdf.functions.standard.create_python_expression
- modeci_mdf.functions.standard.create_python_function
- modeci_mdf.functions.standard.parse_description_and_args
- modeci_mdf.functions.standard.substitute_args
- modeci_mdf.functions.actr
- modeci_mdf.interfaces
- modeci_mdf.interfaces.actr
- modeci_mdf.interfaces.graphviz
- modeci_mdf.interfaces.graphviz.exporter
- modeci_mdf.interfaces.graphviz.exporter.format_bold
- modeci_mdf.interfaces.graphviz.exporter.format_condition
- modeci_mdf.interfaces.graphviz.exporter.format_function
- modeci_mdf.interfaces.graphviz.exporter.format_input
- modeci_mdf.interfaces.graphviz.exporter.format_label
- modeci_mdf.interfaces.graphviz.exporter.format_num
- modeci_mdf.interfaces.graphviz.exporter.format_output
- modeci_mdf.interfaces.graphviz.exporter.format_param
- modeci_mdf.interfaces.graphviz.exporter.format_standard_func
- modeci_mdf.interfaces.graphviz.exporter.format_standard_func_long
- modeci_mdf.interfaces.graphviz.exporter.format_term_condition
- modeci_mdf.interfaces.graphviz.exporter.match_in_expr
- modeci_mdf.interfaces.graphviz.exporter.mdf_to_graphviz
- modeci_mdf.interfaces.graphviz.exporter.safe_comparitor
- modeci_mdf.interfaces.graphviz.exporter
- modeci_mdf.interfaces.onnx
- modeci_mdf.interfaces.onnx.exporter
- modeci_mdf.interfaces.onnx.importer
- modeci_mdf.interfaces.onnx.importer.convert_file
- modeci_mdf.interfaces.onnx.importer.find_subgraphs
- modeci_mdf.interfaces.onnx.importer.get_category_of_onnx_node
- modeci_mdf.interfaces.onnx.importer.get_color_for_onnx_category
- modeci_mdf.interfaces.onnx.importer.get_onnx_attribute
- modeci_mdf.interfaces.onnx.importer.get_shape_params
- modeci_mdf.interfaces.onnx.importer.id_to_port
- modeci_mdf.interfaces.onnx.importer.main
- modeci_mdf.interfaces.onnx.importer.onnx_node_to_mdf
- modeci_mdf.interfaces.onnx.importer.onnx_to_mdf
- modeci_mdf.interfaces.pytorch
- modeci_mdf.interfaces.pytorch.exporter
- modeci_mdf.interfaces.pytorch.exporter.build_script
- modeci_mdf.interfaces.pytorch.exporter.func_args
- modeci_mdf.interfaces.pytorch.exporter.generate_main_forward
- modeci_mdf.interfaces.pytorch.exporter.get_module_declaration_text
- modeci_mdf.interfaces.pytorch.exporter.mdf_to_pytorch
- modeci_mdf.interfaces.pytorch.exporter.sym
- modeci_mdf.interfaces.pytorch.importer
- modeci_mdf.interfaces.pytorch.importer.convert_to_serializable
- modeci_mdf.interfaces.pytorch.importer.get_graph_constants
- modeci_mdf.interfaces.pytorch.importer.make_func_id
- modeci_mdf.interfaces.pytorch.importer.make_model_graph_name
- modeci_mdf.interfaces.pytorch.importer.make_node_id
- modeci_mdf.interfaces.pytorch.importer.process_onnx_schema
- modeci_mdf.interfaces.pytorch.importer.process_torch_schema
- modeci_mdf.interfaces.pytorch.importer.pytorch_to_mdf
- modeci_mdf.interfaces.pytorch.importer.torchnode_to_mdfnode
- modeci_mdf.interfaces.pytorch.importer.translate_graph
- modeci_mdf.interfaces.pytorch.importer.PortMapper
- modeci_mdf.interfaces.pytorch.exporter
- modeci_mdf.mdf
- modeci_mdf.mdf.parsed_structure_factory
- modeci_mdf.mdf.parsed_unstructure_factory
- modeci_mdf.mdf.v
- modeci_mdf.mdf.Condition
- modeci_mdf.mdf.ConditionSet
- modeci_mdf.mdf.Edge
- modeci_mdf.mdf.Function
- modeci_mdf.mdf.Graph
- modeci_mdf.mdf.InputPort
- modeci_mdf.mdf.Model
- modeci_mdf.mdf.Node
- modeci_mdf.mdf.OutputPort
- modeci_mdf.mdf.Parameter
- modeci_mdf.mdf.ParameterCondition
- modeci_mdf.utils
- modeci_mdf.execution_engine