Loading...
Searching...
No Matches
funcmin::RgminTensorDeleter Struct Reference

#include <gpr/ml/RgminObjective.h>

Public Member Functions

void operator() (DLManagedTensorVersioned *tensor) const noexcept

Detailed Description

Owns the tensor descriptor; the referenced coordinate storage is borrowed and must outlive the handle. Destruction releases the descriptor only.

Definition at line 33 of file RgminObjective.h.

Member Function Documentation

◆ operator()()

void funcmin::RgminTensorDeleter::operator() ( DLManagedTensorVersioned * tensor) const
noexcept

Definition at line 9 of file RgminObjective.cpp.

11{
12 rgmin_tensor_free(tensor);
13}

The documentation for this struct was generated from the following files: