摘要:
s_43 = ones(1,128); s_43(1,:) = 36.3; % 31.2 32.5 36.3 for i = 1:128 if(z(i)==2) s_43(i) = s_43(i).*0.9; else if(z(i)==3) s_43(i) = s_43(i)*0.8; else 阅读全文
摘要:
import tensorflow._api.v2.compat.v1 as tf tf.disable_v2_behavior() import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import numpy as np state = tf.Va 阅读全文
摘要:
import tensorflow._api.v2.compat.v1 as tf tf.disable_v2_behavior() import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import numpy as np matrix1 = tf. 阅读全文
摘要:
训练 import tensorflow._api.v2.compat.v1 as tf tf.disable_v2_behavior() import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import numpy as np x_data = n 阅读全文
摘要:
tensorflow2.0版本以上兼容tensorflow1 import tensorflow._api.v2.compat.v1 as tf tf.disable_v2_behavior() CPU 支持AVX2 FMA(加速CPU计算),但安装的 TensorFlow 版本不支持 import 阅读全文