import { DTypeGpu, GPUTensorConstructor, GPUTensorI } from '../../../tensor/gpu/interface'; import { GPUMemoryAllocator } from '../../../tensor/gpu/memory'; import { Operation } from '../operation'; export interface CopyInfo { shapeX?: readonly number[]; widthX?: number; heightX?: number; shapeOutput?: readonly number[]; widthOutput?: number; heightOutput?: number; } export interface CopyInput { input: GPUTensorI; outputShape?: readonly number[]; } export declare class CopyOperation extends Operation { constructor(tensorConstructor: GPUTensorConstructor, dtype: DTypeGpu, allocator?: GPUMemoryAllocator); getFragmentShader(info: CopyInfo): string; getTextureNames(): string[]; calc(input: CopyInput): GPUTensor; getOutputShape(input: CopyInput): readonly number[]; compile(info: CopyInfo): void; getCompilationInfo(input: CopyInput): CopyInfo; getInputInfoString(input: CopyInput): string; }