torch.FunctionEntry
export interface FunctionEntry {
readonly name: string;
readonly namespace?: string;
readonly signature?: string;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
readonly impl: (...args: any[]) => any;
readonly dtypes?: readonly DType[];
}- readonly
name(string) - readonly
namespace(string)optional - readonly
signature(string)optional - readonly
impl((...args: any[]) => any) - readonly
dtypes(readonly DType[])optional
Information about a registered function.
Uses any for impl because registry stores heterogeneous function types.