def get_weight_shapes(num_inputs, layer_sizes, num_outputs):
	"""
	adapted from original tf_model.get_weight_shapes() 
	to convert from method to function
	"""
	weight_shapes = []
	input_size = num_inputs
	for i, layer in enumerate(layer_sizes):
		weight_shapes.append((input_size, layer))
		weight_shapes.append((layer,))
		input_size = layer
	weight_shapes.append((input_size, num_outputs)) 
	weight_shapes.append((num_outputs,))
	return weight_shapes