Skip to main content

A machine learning package

Project description

Tensor Array Python

pypi status python download per month license

This machine learning library using Tensor-Array library

This project is still in alpha version, we are trying to make this look like the main framework but it is easier to code.

How to install Tensor-Array python version.

Before install this library please install NVIDIA CUDA toolkit first.

It can not work without NVIDIA CUDA toolkit.

If you did not install Python then install Python 3:

apt-get update
apt-get install python3

After that go to command and install:

pip install TensorArray

Testing with the Tensor object.

The Tensor class is a storage that store value and calculate the tensor.

The Tensor.calc_grad() method can do automatic differentiation.

The Tensor.get_grad() method can get the gradient after call Tensor.calc_grad().

import tensor_array.core as ta
import numpy as np

def test_add():
    example_tensor_array = ta.Tensor(np.array([
        [1, 2, 3, 4],
        [5, 6, 7, 8],
        [9, 10, 11, 12],
        [13, 14, 15, 16]
        ], dtype=np.int32))
    example_tensor_array_scalar = ta.Tensor(100)
    example_tensor_sum = example_tensor_array + example_tensor_array_scalar
    print(example_tensor_sum)
    example_tensor_sum.calc_grad()
    print(example_tensor_array.get_grad())
    print(example_tensor_array_scalar.get_grad())

test_add()

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

tensorarray-0.0.9-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tensorarray-0.0.9-cp313-cp313-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl (4.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ ppc64lemanylinux: glibc 2.28+ ppc64le

tensorarray-0.0.9-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

tensorarray-0.0.9-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tensorarray-0.0.9-cp312-cp312-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl (4.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ ppc64lemanylinux: glibc 2.28+ ppc64le

tensorarray-0.0.9-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

tensorarray-0.0.9-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tensorarray-0.0.9-cp311-cp311-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl (4.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ ppc64lemanylinux: glibc 2.28+ ppc64le

tensorarray-0.0.9-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

tensorarray-0.0.9-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tensorarray-0.0.9-cp310-cp310-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl (4.2 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ ppc64lemanylinux: glibc 2.28+ ppc64le

tensorarray-0.0.9-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

tensorarray-0.0.9-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tensorarray-0.0.9-cp39-cp39-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl (4.2 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ ppc64lemanylinux: glibc 2.28+ ppc64le

tensorarray-0.0.9-cp39-cp39-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

tensorarray-0.0.9-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (4.1 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

tensorarray-0.0.9-cp38-cp38-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl (4.2 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.27+ ppc64lemanylinux: glibc 2.28+ ppc64le

tensorarray-0.0.9-cp38-cp38-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (4.1 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

File details

Details for the file tensorarray-0.0.9-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8fc52b25cdfbd52cba9d24cf0a3d9f5035594e7bb3c0303d69a3643940b84824
MD5 3ce13015d31b8511c7ce0c902f950fca
BLAKE2b-256 5494a2c90a82c5efbd8ca25621a59625e81fa07bfd5e40a430bafdf25a2f2991

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp313-cp313-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp313-cp313-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 5689f4af66a13b4426c0340402e64e3fbc12e7a92bdd5387f13c5060daefc5e5
MD5 e37b3dd4088f9cbc302e42c101e994ff
BLAKE2b-256 a0e51c6ee79975b54d830ad13c1b12eb749e2550ebb66c9626ac79a88a806e9b

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp313-cp313-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 79a32a9f595d796de1e522cbf2cfd2d7d410c6ba1029d71ddb50970cb117bc45
MD5 a40502005b4383a83c045d4d27ba8ce4
BLAKE2b-256 d77438e6535daaae1386c0bcc615681f2a6a3c1a5a4915e15d22e9eb57831dc8

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ddd8d0951d0ad5e780111f1f0c0214d9b984570739d337bf45620bb91f54bff8
MD5 85549267bba95dd5dec882674bb33b89
BLAKE2b-256 6adfe51b9a9df720c94fbe0b3915fa79a2a04cde08966b7a6802af6fdd8028b7

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp312-cp312-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp312-cp312-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 448cf2126bac63fffd34f2e221ef16329be68bd4922a4e80845f24e127604f16
MD5 04af10fbcf96b4e666f0b2d5aa3833e1
BLAKE2b-256 829e018d0e8a1cdab13f0f393190bc80802c8dfdcc4d523ea006fdc1483a63e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp312-cp312-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 138b4f16d0c481a2524e3100be1f20ab0e3e48f68747d89ab4f622d3ea5a1486
MD5 9c5b59b9980ff9c15ec2fcc5cf3ddee9
BLAKE2b-256 c3e307a4dfbb9bf9515ed12913f4d8a2d09f31abe3ef29c972fd935aad8e2549

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 98a3b06d03738e991451e9f819c11eecfc8a217e4449389a15f203f6e40188ed
MD5 305f16f91fc16c5531a0435f6e31ef82
BLAKE2b-256 7e80fc5c575201329db5e37e3c121f434def07161593bf295d0de5ce118ae557

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp311-cp311-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp311-cp311-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 1e4b8afc515475aec41532ceb4c006b0b883a81b0286f767796dca886f279577
MD5 43f977f914e94424923e365e0b17b504
BLAKE2b-256 4f8306c097b79e1483ff2dc06190224ec38c262daa2d28adf464c71f58efb0a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp311-cp311-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 93a5b3ff42c59481a24fbae8e9506e907d0f7d28c97ba20258d1c24a5292d5f5
MD5 a7ec5dfa605daa2c81ed0bc6ec044f49
BLAKE2b-256 b6e1b6be719afc94eb5bdb74a97b150fddb2ad761490c4bb046cbd4beaa42ee1

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dbd2b4f9b4f3712aaa023c6453cbde10754a38c7f8ebff2d5e1bf755abb95011
MD5 89e0817a08478d1953337b0bb73c290b
BLAKE2b-256 5db4b62b8d79d7b96a4d27bdd126d5cc7fca0b38fc1d01fa5ad270f32f88a1cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp310-cp310-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp310-cp310-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 2ce2a68a264b14c0c3bb878e9c1dee3cb45179960215d630b75aae320876d4fb
MD5 3db997808ac5360ed1aa467c3571a31c
BLAKE2b-256 d514f66d5246fa78db82c9a311f370e1c12394f0560a70348253d6776879975d

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp310-cp310-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2d86d76b9bc161d9a9e08b28c89186240faf693bbfe34e1fd30abcba359968a6
MD5 48bb6d61923f315e9590b5c8f0d3bf88
BLAKE2b-256 a0349db42320842c481b48d113b1d373ae12e1ddd2aee3ab35a67326271fb171

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp310-cp310-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d7efab26d6d2d834118fb02f6bd3fcbb808d27ca10b27a5a1d059ec2125482ee
MD5 9fe1b52d1fca7d5c5d9e1e25e9b6fbdf
BLAKE2b-256 0341017208c394abc8321b23450ffe3963debccd660823105bb37cefee2d6eb6

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp39-cp39-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp39-cp39-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp39-cp39-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 ed9c1eaab73989ae58e62565e9c7d033a684de77b26814cf785c2c3166a7ebc5
MD5 0227aa6429379cac87f177d347ddd34d
BLAKE2b-256 0b63837396351213bd3bd56af3b0c6a625c5de3f4adad1be06c269710814171d

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp39-cp39-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp39-cp39-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp39-cp39-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 71830290d9064227c95378dbcae4d2e1d6cdcab99f57143808db94421ccafe04
MD5 99a89b4d821b6e5be86d2992e23ca090
BLAKE2b-256 adce98c18dcadd211890c5ef16954c8e917908acbeb30778d59a9aee95a91900

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp39-cp39-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 16478891575f289286b91b5e86fc1b6ecf8cccc8251578fab982aa3603bb61a8
MD5 b564b3ff392e8ba3b941ef2c756d1dbc
BLAKE2b-256 be0c1cbddfdee1909a0ce5863304bc1fad5fe7c7810a715665eec97af5b4687d

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp38-cp38-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp38-cp38-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp38-cp38-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl
Algorithm Hash digest
SHA256 a4322bccb5970278135025c3794266dc6cb8aa32541f8977258bc69aa4e88a5a
MD5 de48369e15909bc21f6be753a6040e06
BLAKE2b-256 ce5c521d16a981a6fce98cf63424e89c13cc9cc10055a47c698ab864b4758e56

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp38-cp38-manylinux_2_27_ppc64le.manylinux_2_28_ppc64le.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tensorarray-0.0.9-cp38-cp38-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for tensorarray-0.0.9-cp38-cp38-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 24020d3640121d412a1117368208ca29ec82656c501934f7fb4315f98677104a
MD5 c97f69d84172d64ac5aabbabe502aa67
BLAKE2b-256 37b6ae47d505f85c28a8a4673e78c85377403f9105e8b2b34ad2046a0b75475f

See more details on using hashes here.

Provenance

The following attestation bundles were made for tensorarray-0.0.9-cp38-cp38-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: python-publish.yml on Tensor-Array/Tensor-Array-Python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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