Skip to content

Conv3d, new configurator#6

Open
AnihilatorGun wants to merge 40 commits into
masterfrom
dev
Open

Conv3d, new configurator#6
AnihilatorGun wants to merge 40 commits into
masterfrom
dev

Conversation

@AnihilatorGun

Copy link
Copy Markdown
Collaborator

No description provided.

return ratio


def _build_toml(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing serious, but it might be worth finding some lib that allows building toml from e.g. dict. The upside of the current approach is that you avoid adding some dumb dependency like "toml writer" or smth like that.



class EmptyKwarg:
class ConfArg:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can add type annotation here. For example ConfArg[T]. In this case, def fn(x: int) would become def fn(x: ConfArg[int])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants