htmresearch icon indicating copy to clipboard operation
htmresearch copied to clipboard

Specify SP params via TP region config

Open BoltzmannBrain opened this issue 10 years ago • 1 comments

When creating a network with a TP region in the sequence classification factory, you can only specify the TP params and not the underlying SP params. That is, the TP subclasses the SP, so the factory assumes these standard SP params. Trying to specify SP params in the TP region config json will raise an error because they are not defined in the TP region's spec.

BoltzmannBrain avatar Oct 23 '15 14:10 BoltzmannBrain

There's a Pythonic trick to do this easily and automatically. You can simply introspect the appropriate classes and add params automatically to the spec. This is used in some of the other regions.

subutai avatar Oct 23 '15 19:10 subutai