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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ndtransform-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8719bf2da77a357c913865308de4a8c245fbfec0ebf4a2c0a7e9f5a50519a03a |
|
MD5 | f13af8e8d81e5bb80b63efad0d96ca80 |
|
BLAKE2b-256 | 6613354aaa8a84a602c9ae7aefc9caac60c1001a136ab853069c1b8e0ca2afd5 |