def METHOD_NAME(self, feeds):
    for input_name, input_type in self.inputs:
        if input_type == "tensor(float)":
            feed = feeds.get(input_name)
            if feed is not None and feed.dtype == np.float64:
                feeds[input_name] = feed.astype(np.float32)
    return feeds