Skip to main content

No project description provided

Project description

This library contains 3 functions that are meant to be used for tensor transformations. Mostly they are built using standard python library with some functionalities of numpy.

The 3 functions in question: -transpose2d(tensor): takes a tensor in the format "list[list[float]]". This tensor will then be transposed. Returns a list.

-window1d(array, size, *shift, *stride): "array" takes an array in format list or np.ndarray; "size", of which size you want to get your windows; "shift" (default = 1) optional argument, which determines step in between window calculations; "stride" (default = 1) optional argument, which represents the step size. Returns a list.

-convolution2d(matrix, kernel, *stride): "matrix" takes an np.ndarray that you would like to make calculations on; "kernel" takes an np.ndarray that will be used to do calculations on original matrix; "stride" (default = 1) optional argument that represents the step size, when generating result. Returns np.ndarray.

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

ndtransform-0.1.3.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ndtransform-0.1.3-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file ndtransform-0.1.3.tar.gz.

File metadata

  • Download URL: ndtransform-0.1.3.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.1 Windows/10

File hashes

Hashes for ndtransform-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8562f070cc9aa54627c895a41feb0b123af32388db60c10016c340e84c88b28d
MD5 fd784e81ce18e250695b09f751464a55
BLAKE2b-256 f1e6416b4a51e4ac25601b288b8413c68994c9a1cef85bca82f8e4a97979e7a3

See more details on using hashes here.

File details

Details for the file ndtransform-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ndtransform-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.11.1 Windows/10

File hashes

Hashes for ndtransform-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8719bf2da77a357c913865308de4a8c245fbfec0ebf4a2c0a7e9f5a50519a03a
MD5 f13af8e8d81e5bb80b63efad0d96ca80
BLAKE2b-256 6613354aaa8a84a602c9ae7aefc9caac60c1001a136ab853069c1b8e0ca2afd5

See more details on using hashes here.

Supported by

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