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