ggml_reshape method

return view(a), b specifies the new shape TODO: when we start computing gradient, make a copy instead of view

Implementation

ffi.Pointer<ggml_tensor> ggml_reshape(
  ffi.Pointer<ggml_context> ctx,
  ffi.Pointer<ggml_tensor> a,
  ffi.Pointer<ggml_tensor> b,
) {
  return _ggml_reshape(
    ctx,
    a,
    b,
  );
}