笔记
我看谁都是猪
命数如织 当为磐石
展开
-
tf.layers.dense输出维度测试
'''import numpy as np import tensorflow as tf z = np.random.normal(size=[512,128,16]) print('z_shape:',z.shape) conditioning = np.random.normal(size=[512,128,6]) z_combine = tf.concat([z, conditioning], -1) print('z_combined_shape:',z_combine.shape) flat =原创 2021-01-09 17:22:30 · 909 阅读 · 0 评论 -
AuEncoder_Rayleigh_未改变训练方式
from __future__ import division import numpy as np import tensorflow as tf ''' This file aims to solve the end to end communication problem in Rayleigh fading channel ''' ''' The condition of channel GAN is the encoding and information h ''' ''' We should原创 2020-09-29 10:19:35 · 149 阅读 · 0 评论 -
硬判决 软判决
硬判决计算汉明距离(横坐标和纵坐标的绝对值之和),是一个线性问题 软判决计算欧氏距离(星座点和原点的距离),是一个回归问题原创 2020-09-28 16:17:11 · 603 阅读 · 0 评论 -
Tips
卷积运算不会改变图像大小 平坦层将图像reshape为一维 卷积运算类似于滤镜效果,即用于提取不同的特征,例如边缘、线条和角等。卷积层的意义是将原本一个图像经过卷积运算产生多个图像,就好像相片叠加起来 ...原创 2020-09-28 09:55:34 · 93 阅读 · 0 评论 -
AutoEncoder_Rayleigh_简化训练
'''import tensorflow as tf import matplotlib.pyplot as plt from tensorflow.examples.tutorials.mnist import input_data mnist = input_data.read_data_sets('MNIST_data/',one_hot=True) learning_rate = 0.01 training_epochs = 10 batch_size = 256 display_step = 1原创 2020-09-28 09:36:28 · 215 阅读 · 0 评论