Commit a1f06b10 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'model_documentation' into 'NIFTy_5'

small tweaks

See merge request ift/nifty-dev!27
parents 42150f8f 5f6a58e2
......@@ -24,7 +24,6 @@ class SampledKullbachLeiblerDivergence(Energy):
return self.__class__(self._h.at(position), self._res_samples,
self._iteration_controller)
@property
@memo
def value(self):
......
......@@ -25,7 +25,8 @@ from .model import Model
class MultiModel(Model):
""" """
def __init__(self, model, key):
# TODO Rewrite it such that it takes a dictionary as input. Just like MultiFields.
# TODO Rewrite it such that it takes a dictionary as input.
# (just like MultiFields).
super(MultiModel, self).__init__(model.position)
self._model = model
self._key = key
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment