Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
kttian committed Aug 12, 2020
1 parent c1b4fcd commit 00b4449
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorflow/python/ops/map_ops.py
Expand Up @@ -74,7 +74,7 @@ def InsertGrad(op, dmap):

@ops.RegisterGradient("TensorMapErase")
def EraseGrad(op, dmap):
m, k = op.inputs
_, k = op.inputs
key_grad = None
map_grad = dmap #tensor_map_insert(dmap, k, v)
map_grad = dmap
return map_grad, key_grad

0 comments on commit 00b4449

Please sign in to comment.