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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8204bf61089cd25f42bffe2a52483cd268c30c5f901ed60161bf613e09dec6a |
|
MD5 | 9c08cb8f02a516b46bc49dfe4f34adca |
|
BLAKE2b-256 | cde6a1bd4ac9aaf0b8004930e09e060728abf5b3afe198c4e1277890bdb197bf |