Skip to content

Commit

Permalink
Removes redundant variable assignment (tensorflow#16286)
Browse files Browse the repository at this point in the history
  • Loading branch information
vmikulik authored and rmlarsen committed Jan 22, 2018
1 parent 6cd1663 commit f20f28b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tensorflow/python/framework/constant_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ def _eager_reshape(tensor, shape, ctx):
attr_t = tensor._datatype_enum() # pylint: disable=protected-access
attr_tshape, (shape,) = execute.args_to_matching_eager(
[shape], ctx, dtypes.int32)
attr_tshape = attr_tshape
inputs_flat = [tensor, shape]
attrs = ("T", attr_t, "Tshape", attr_tshape)
result, = execute.execute(
Expand Down

0 comments on commit f20f28b

Please sign in to comment.