Share Brilliantly
tensor flow
let tensor = tf.tensor([[1,0],[0,1]]); let shape tensor.shape; let rank = tensor.rank; let dtype = tensor.dtype;