我正在尝试创建一个神经网络(使用YT指南,但我必须更改数据输入代码),我需要批处理数据集才能使列车功能正常工作(idk为什么,事件不确定)。但是,当我试图使用tensorflow.data.Dataset.from_tensor_slices(train_data))将火车数据列表转换为Dataset时,我会收到一条错误消息:
InvalidArgumentErrorif these pictures are actually the pictures of the same person"], dtype=fl
我有2个三维张量A的形状(batch_size,dim1,dim2)和B的大小(batch_size,dim2,dim3).我想执行以下计算:for i in range(batch_size):我尝试了C = tf.matmul(A,B),但得到了错误:
tensorflow.python.framework.errors_impl.InvalidArgumentError</e