merge conflicts with master
This commit is contained in:
parent
fb3b5e7f39
commit
a1e5b65f08
@ -176,8 +176,6 @@ class TensorMapHasKey : public OpKernel {
|
||||
}
|
||||
};
|
||||
|
||||
<<<<<<< HEAD
|
||||
|
||||
template <typename Device>
|
||||
Status TensorMapBinaryAdd(OpKernelContext* c, const TensorMap& a,
|
||||
const TensorMap& b, TensorMap* out) {
|
||||
@ -196,7 +194,6 @@ Status TensorMapBinaryAdd(OpKernelContext* c, const TensorMap& a,
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
|
||||
template <typename Device>
|
||||
Status TensorMapZerosLike(OpKernelContext* c, const TensorMap& x, TensorMap* y) {
|
||||
for (const std::pair<TensorKey,Tensor>& p : x.tensors()) {
|
||||
@ -207,9 +204,6 @@ Status TensorMapZerosLike(OpKernelContext* c, const TensorMap& x, TensorMap* y)
|
||||
return Status::OK();
|
||||
}
|
||||
|
||||
|
||||
=======
|
||||
>>>>>>> master
|
||||
} // namespace tensorflow
|
||||
|
||||
#endif // TENSORFLOW_CORE_KERNELS_MAP_KERNELS_H_
|
||||
|
@ -207,7 +207,6 @@ class MapOpsTest(test_util.TensorFlowTestCase, parameterized.TestCase):
|
||||
self.assertAllClose(g3, 7)
|
||||
del tape
|
||||
|
||||
<<<<<<< HEAD
|
||||
def testDiffKeySameValueGrad(self):
|
||||
with backprop.GradientTape(persistent=True) as tape:
|
||||
m = map_ops.empty_tensor_map()
|
||||
@ -395,8 +394,6 @@ class MapOpsTest(test_util.TensorFlowTestCase, parameterized.TestCase):
|
||||
s = map_ops.tensor_map_size(m)
|
||||
self.assertAllEqual(s, 0)
|
||||
self.assertAllClose(e, v)
|
||||
=======
|
||||
>>>>>>> master
|
||||
|
||||
if __name__ == "__main__":
|
||||
test.main()
|
||||
|
Loading…
Reference in New Issue
Block a user