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

Commit

Permalink
remove redundant methods
Browse files Browse the repository at this point in the history
  • Loading branch information
n17s committed Feb 24, 2017
1 parent 4a72222 commit 6d95eda
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bindings/python/cntk/cntk_py.i
Original file line number Diff line number Diff line change
Expand Up @@ -1641,19 +1641,17 @@ DATA_TYPE.__eq__ = lambda a,b: (a is not None and b is not None and EQ(a,b)) or
%}
%enddef

%py_repr_for(Variable)
%py_repr_for(Function)

%py_eq_for(Variable, Variable_eq)
%py_hash_for(Variable)
%py_repr_for(Variable)

%py_eq_for(Constant, Variable_eq)
%py_hash_for(Constant)
%py_repr_for(Constant)

%py_eq_for(Parameter, Variable_eq)
%py_hash_for(Parameter)
%py_repr_for(Parameter)

%py_eq_for(NDShape, NDShape_eq)
%py_hash_for(NDShape)
Expand Down

0 comments on commit 6d95eda

Please sign in to comment.