tensorflow tensor或numpy数组打印出全部值 1、加入以下代码 import numpy as np np.set_printoptions(threshold=np.inf) parser = argparse.ArgumentParser()