Skip to content
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.

Commit

Permalink
remove duplicated method definitions in operators.py (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkng authored Oct 8, 2019
1 parent fbaa076 commit dc3c759
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions dlk/python/dlk/core/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,26 +350,6 @@ def ndims(self) -> int:
"""Get the number of dimension defined in this node."""
return len(self._shape)

@property
def shape(self) -> List[int]:
return self._shape

@shape.setter
def shape(self, v: List[int]) -> None:
self._shape = v

@property
def dtype(self) -> DataType:
return self._dtype

@dtype.setter
def dtype(self, v: DataType) -> None:
self._dtype = v

@property
def ndims(self) -> int:
return len(self._shape)

@property
def dimension(self) -> str:
"""Return dimension in string.
Expand Down

0 comments on commit dc3c759

Please sign in to comment.