Sorry you have no rights to view this post!
[일:] 2017년 04월 17일
sparse_tensor_to_dense 전에 이어서… 각 행의 feature를 sparse tensor로 받아 들인다. tutorial에는 값을 확인하는 부분이 없다. 내가 입력한 값이 정확한지 이를 어떻게 확인해야 하는지? print로 확인을 하면 좋은데, sparse tensor를 print 하면 대략 형식에 대한 값들만 출력이 된다. SparseTensor(indices=Tensor(“SparseTensor_1/indices:0”, shape=(32561, 2), dtype=int64), values=Tensor(“SparseTensor_1/values:0”, shape=(32561,), dtype=string), dense_shape=Tensor(“SparseTensor_1/dense_shape:0”, shape=(2,), dtype=int64)) 크게 3개로 구성된다. 각 항목의 type은 tensor이다. 1. […]