functions/calculate_weights/calculate_weights.py [13:18]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def generate_weights(type, steps):
    if type == "linear":
        values = linear(steps)
    else:
        raise Exception("Invalid function type: " + type)
    return values
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



functions/simple/simple.py [138:144]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
def generate_weights(type, steps):
	if type == "linear":
		values = linear(steps)
	# implement other functions here
	else:
		raise Exception("Invalid function type: " + type)
	return values
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



