f964791fd6fba44d35f76dfd78b4e56bfb7479a9,brian2/groups/group.py,VariableOwner,set_states,#VariableOwner#Any#Any#Any#Any#,528
Before Change
// be made into an extensible system, see github issue /룊
if format != "dict":
raise NotImplementedError("Format "%s" is not supported" % format)
for key, value in values.iteritems():
self.state(key, use_units=units, level=level+1)[:] = value
def _full_state(self):
state = {}
for var in self.variables.itervalues():
if not isinstance(var, ArrayVariable):
After Change
"""
// For the moment, "dict" is the only supported format -- later this will
// be made into an extensible system, see github issue /룊
if format not in ImportExport.methods.keys() :
raise NotImplementedError("Format "%s" is not supported" % format)
ImportExport.methods[format].import_data(self, values, units=units, level=level)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: brian-team/brian2
Commit Name: f964791fd6fba44d35f76dfd78b4e56bfb7479a9
Time: 2016-05-07
Author: raymon92@gmail.com
File Name: brian2/groups/group.py
Class Name: VariableOwner
Method Name: set_states
Project Name: snipsco/snips-nlu
Commit Name: f83dd115acb0d119fa466fad51b473a30749f684
Time: 2017-05-11
Author: clement.doumouro@snips.ai
File Name: snips_nlu/intent_parser/regex_intent_parser.py
Class Name: RegexIntentParser
Method Name: get_intent
Project Name: snipsco/snips-nlu
Commit Name: 1f750836b3f7193756829e925cbdef01ea4dbd8d
Time: 2017-09-13
Author: clement.doumouro@snips.ai
File Name: snips_nlu/intent_parser/probabilistic_intent_parser.py
Class Name:
Method Name: capitalize_utterances