Skip to content

Commit

Permalink
TTTensor class (ivy-llc#23089)
Browse files Browse the repository at this point in the history
  • Loading branch information
mobley-trent authored and iababio committed Sep 27, 2023
1 parent 47e982e commit 28fd4b4
Show file tree
Hide file tree
Showing 6 changed files with 654 additions and 1 deletion.
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

0 comments on commit 28fd4b4

Please sign in to comment.