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

added skeleton files to tensorflow frontend. #2753

Merged
merged 5 commits into from
Aug 10, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
31 changes: 29 additions & 2 deletions ivy/functional/frontends/tensorflow/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# flake8: noqa
from . import functions
from .functions import *
# flake8: noqa
from . import activations
from .activations import *
from . import layers
from .layers import *
from . import linalg
from .linalg import *
from . import math
from .math import *
from . import metrics
from .metrics import *
from . import nest
from .nest import *
from . import nn
from .nn import *
from . import quantization
from .quantization import *
from . import random
from .random import *
from . import raw_ops
from .raw_ops import *
from . import regularizers
from .regularizers import *
from . import sets
from .sets import *
from . import signal
from .signal import *
from . import sparse
from .sparse import *
Empty file.
48 changes: 0 additions & 48 deletions ivy/functional/frontends/tensorflow/functions.py

This file was deleted.

9 changes: 9 additions & 0 deletions ivy/functional/frontends/tensorflow/layers.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# global
import ivy


def add(x, y, name=None):
return ivy.add(x, y)


add.unsupported_dtypes = {"torch": ("float16", "bfloat16")}
Empty file.
16 changes: 16 additions & 0 deletions ivy/functional/frontends/tensorflow/math.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# global
import ivy


def add(x, y, name=None):
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is also in layers? Is this a mistake, or it appears in both categories?

return ivy.add(x, y)


add.unsupported_dtypes = {"torch": ("float16", "bfloat16")}


def tan(x, name=None):
return ivy.tan(x)


tan.unsupported_dtypes = {"torch": ("float16", "bfloat16")}
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
16 changes: 16 additions & 0 deletions ivy/functional/frontends/tensorflow/raw_ops.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# global
import ivy


def concat(values, axis, name="concat"):
return ivy.concat(values, axis)


concat.unsupported_dtypes = {"torch": ("float16", "bfloat16")}


def fill(dims, value, name="full"):
return ivy.full(dims, value)


fill.unsupported_dtypes = {"torch": ("float16", "bfloat16")}
Empty file.
Empty file.
Empty file.
Empty file.