<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def astensor(array: TensorLike) -> BKTensor: """Converts a numpy array to the backend's tensor object """

    array = np.asarray(array, dtype=CTYPE)
    return array