Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TTTensor class #23089

Merged
merged 15 commits into from
Sep 17, 2023
Merged
Show file tree
Hide file tree
Changes from 9 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/demos
mobley-trent marked this conversation as resolved.
Show resolved Hide resolved
Submodule demos added at 0491d7
6 changes: 5 additions & 1 deletion ivy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ class CPTensor:
pass


class TTTensor:
pass


class Device(str):
def __new__(cls, dev_str):
if dev_str != "":
Expand Down Expand Up @@ -758,7 +762,7 @@ class Node(str):
add_ivy_container_instance_methods,
)
from .data_classes.nested_array import NestedArray
from .data_classes.factorized_tensor import TuckerTensor, CPTensor
from .data_classes.factorized_tensor import TuckerTensor, CPTensor, TTTensor
from ivy.utils.backend import (
current_backend,
compiled_backends,
Expand Down
1 change: 1 addition & 0 deletions ivy/data_classes/factorized_tensor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
from .tucker_tensor import TuckerTensor
from .cp_tensor import CPTensor
from .tt_tensor import TTTensor
Loading