def get_noisefree_tile(self, out_size, in_size): """Return a tile of the specified dimensions with noisiness turned off.""" rpu_config = None if 'FloatingPoint' not in self.parameter: rpu_config = SingleRPUConfig( forward=IOParameters(is_perfect=True), backward=IOParameters(is_perfect=True), device=IdealDevice()) python_tile = self.get_tile(out_size, in_size, rpu_config) self.set_init_weights(python_tile) return python_tile
def get_rpu_config(self): rpu_config = SingleRPUConfig(device=IdealDevice()) rpu_config.forward.is_perfect = True rpu_config.backward.is_perfect = True return rpu_config
def get_rpu_config(self): return SingleRPUConfig(device=IdealDevice())