Skip to content

Commit

Permalink
Removed is_variable attribute from ivy arrays (#6043)
Browse files Browse the repository at this point in the history
  • Loading branch information
vedpatwardhan authored Oct 22, 2022
1 parent 80f3cac commit b559393
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ Let’s dive straight in and check out what the :class:`ivy.Array` constructor l
else:
self._post_repr = ")"
self.framework_str = ivy.current_backend_str()
self._is_variable = ivy.is_variable(self._data)
# Properties #
# -----------#
Expand Down
6 changes: 0 additions & 6 deletions ivy/array/array.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ def _init(self, data):
else:
self._post_repr = ")"
self.backend = ivy.current_backend_str()
self._is_variable = ivy.is_variable(self._data)

# Properties #
# ---------- #
Expand Down Expand Up @@ -200,11 +199,6 @@ def T(self) -> ivy.Array:
ivy.assertions.check_equal(len(self._data.shape), 2)
return ivy.matrix_transpose(self._data)

@property
def is_variable(self) -> bool:
"""Determine whether the array is a trainable variable or not."""
return self._is_variable

# Setters #
# --------#

Expand Down

0 comments on commit b559393

Please sign in to comment.