numpy 類型轉換爲 tensor

import tensorflow as tf import numpy as np a1 = np.array([[1,2,3,4,5],[2,3,4,5,6]]) a2 = np.array([[3,4,5,6,7],[3,4,5,8,9]]) b = np.array([[0,1,1,0,0],[1,0,1,0,1]]) a1 = tf.convert_to_tensor(a1, dty
相關文章
相關標籤/搜索