I saw this multiply param.get_value() by 0 to create the initialization value of a shared variable in the momentum class. It was unclear to me whether this was creating a shared variable of a special type or shape so I erred on the side of caution. Ultimately I want delta to be of the same shape and type as param but with each value equal to lr. It seems like I tried zeros_like and that failed but I'll double check.