Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add TensorShape #908

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

feat: add TensorShape #908

wants to merge 15 commits into from

Conversation

LIEeOoNn
Copy link
Contributor

@LIEeOoNn LIEeOoNn commented Jul 12, 2024

Closes #857

Summary of Changes

  • added class TensorShape to store the shape of tensors
    with method get_size() and attribute dimensionality
  • made ModelImageSize a subclass of TensorShape
  • adjusted various Layers to use TensorShape for output- and input-size

@LIEeOoNn LIEeOoNn linked an issue Jul 12, 2024 that may be closed by this pull request
3 tasks
Copy link
Contributor

github-actions bot commented Jul 12, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 13 0 0 1.08s
✅ PYTHON mypy 13 0 2.64s
✅ PYTHON ruff 13 0 0 0.4s
✅ REPOSITORY git_diff yes no 0.67s

See detailed report in MegaLinter reports
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security

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.

Tensor shape
3 participants