Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Specify SP params via TP region config #333

Open
BoltzmannBrain opened this issue Oct 23, 2015 · 1 comment
Open

Specify SP params via TP region config #333

BoltzmannBrain opened this issue Oct 23, 2015 · 1 comment

Comments

@BoltzmannBrain
Copy link
Contributor

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.

@subutai
Copy link
Member

subutai commented Oct 23, 2015

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants