Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
nits.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anirudh Acharya committed Apr 25, 2018
1 parent f6cda22 commit 7b30d5a
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/operator/tensor/elemwise_binary_broadcast_op_logic.cc
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Example::
[ 1.]]
broadcast_logical_and(x, y) = [[ 0., 0., 0.],
[ 1., 1., 1.]]
[ 1., 1., 1.]]
)code" ADD_FILELINE)
.set_attr<FCompute>("FCompute<cpu>", BinaryBroadcastCompute<cpu, mshadow_op::logical_and>)
Expand All @@ -160,14 +160,14 @@ MXNET_OPERATOR_REGISTER_BINARY_BROADCAST(broadcast_logical_or)
Example::
x = [[1 , 2, 0],
[0.5, -2.3, 0.0]]
x = [[1., 1., 0.],
[1., 1., 0.]]
y = [[2.0],
[0]]
y = [[1.],
[0.]]
broadcast_logical_or(x, y) = [[1. 1. 1.]
[1. 1. 0.]]
broadcast_logical_or(x, y) = [[1., 1., 1.],
[1., 1., 0.]]
)code" ADD_FILELINE)
.set_attr<FCompute>("FCompute<cpu>", BinaryBroadcastCompute<cpu, mshadow_op::logical_or>)
Expand All @@ -178,14 +178,14 @@ MXNET_OPERATOR_REGISTER_BINARY_BROADCAST(broadcast_logical_xor)
Example::
x = [[1 , 2, 0],
[0.5, -2.3, 0.0]]
x = [[1., 1., 0.],
[1., 1., 0.]]
y = [[2.0],
[0]]
y = [[1.],
[0.]]
broadcast_logical_xor(x, y) = [[0. 0. 1.]
[1. 1. 0.]]
broadcast_logical_xor(x, y) = [[0., 0., 1.],
[1., 1., 0.]]
)code" ADD_FILELINE)
.set_attr<FCompute>("FCompute<cpu>", BinaryBroadcastCompute<cpu, mshadow_op::logical_xor>)
Expand Down

0 comments on commit 7b30d5a

Please sign in to comment.