UNPKG

@hoff97/tensor-js

Version:

PyTorch like deep learning inferrence library

10 lines 311 B
import { UnaryOperation } from './unaryOperation'; export class NegateOperation extends UnaryOperation { constructor(tensorConstructor, dtype, allocator) { super(tensorConstructor, dtype, allocator); } operation(input) { return `-${input}`; } } //# sourceMappingURL=negate.js.map