@hoff97/tensor-js
Version:
PyTorch like deep learning inferrence library
12 lines (11 loc) • 470 B
TypeScript
import { Mode } from '../../model/module';
import Tensor from '../../types';
import { OnnxNode } from '../node';
import { Attributes, Constants } from '../types';
export declare class GatherNode extends OnnxNode {
private axis;
constructor(attributes: Attributes, inputs: string[], outputs: string[], constants: Constants, onnxVersion: number, mode: Mode);
forward(inputs: Tensor<any>[]): Promise<Tensor<any>[]>;
getType(): string;
delete(): void;
}