What does the output mean when I print a tensor in tensorflow -
sorry if obvious. title says, mean when print tensor in console.
print(tf.constant([1,2])) # tensor("const_7:0", shape=(2,), dtype=int32) i understand shape , dtype, how const_7:0? const looks me operation creates tensor. :0 then?
const_7 means name of operation , name of operation should unique in single graph. port 0 means first output tensor of op. operation has many output tensors tf.split , these tensors named port after name of operation.
Comments
Post a Comment