def METHOD_NAME(self, device_opt):
    model = model_helper.ModelHelper(name="copy_test")
    with core.DeviceScope(device_opt):
        x = model.net.AddExternalInputs("x")
        y = model.Copy(x, "y")
        loss = model.AveragedLoss(y, "loss")
        gradient_map = model.AddGradientOperators([loss])
        workspace.FeedBlob(x, np.random.rand(32).astype(np.float32))
        workspace.RunNetOnce(model.param_init_net)
        workspace.RunNetOnce(model.net)
        self.assertTrue(np.array_equal(
            workspace.FetchBlob(x),
            workspace.FetchBlob(y),
        ))
        self.assertTrue(np.array_equal(
            workspace.FetchBlob(gradient_map[x]),
            workspace.FetchBlob(gradient_map[y]),
        ))