Skip to main content

Implementation of Tucker Convolution Layer

Project description

Tucker Convolutional Layers

PyTorch implementation of Tucker Convolutional Layers as introduced in MobileDets: Searching for Object Detection Architectures for Mobile Accelerators. Ross Wightman's timm library has been used for some helper functions and inspiration for syntax style.

Installation

$ pip install tucker-conv

Usage

from tucker_conv.conv import TuckerConv
import torch

tucker = TuckerConv(30, 30, in_comp_ratio = 0.25, out_comp_ratio = 0.75)
input = torch.randn([1, 30, 512, 512])

output = tucker(input)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tucker_conv-1.0.1.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

tucker_conv-1.0.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file tucker_conv-1.0.1.tar.gz.

File metadata

  • Download URL: tucker_conv-1.0.1.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.9

File hashes

Hashes for tucker_conv-1.0.1.tar.gz
Algorithm Hash digest
SHA256 a4ce4729427f164b3f609dac12041962661c6a3140ef4ccb0b50e2ad1a02fb29
MD5 d1af1ec1497d3472a28360af2f42c9ac
BLAKE2b-256 4dd35bc3375fc9eaa564c893332501b06dd3a1a5b546e63cb5ac843ff67ff80a

See more details on using hashes here.

File details

Details for the file tucker_conv-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: tucker_conv-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.9

File hashes

Hashes for tucker_conv-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2047ee97a98476a1b00236b08b039db0ec7a880f49ff84a2e21af2f08eb0e47
MD5 1eebc3f7185f86d2d9e957dad622deb4
BLAKE2b-256 51e41c58d734ba5c8d899a79f3e0b44c67ecb552d6289f7e9d25dbbb87d9133d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page