(no title)
bquinlan | 5 years ago
I tried:
inputs = {
'matrix': [[10, 20, 30],
[5, 5, 10],
[2, 2, 1]]
}
output = [[85/10, 85/20, 85/30],
[85/5, 85/5, 85/10],
[85/2, 85/2, 85/1]]
And got: tf.cast(tf.divide(tf.reduce_sum(matrix), matrix),
tf.float32)
But now I realize that is pretty close to one of the examples. Did anyone try something complex?
ghj|5 years ago
nl|5 years ago
It couldn't solve it - it was a broadcasting problem though.