Skip to content
This repository was archived by the owner on Sep 17, 2022. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove tslint ignore
  • Loading branch information
WenheLI committed Jul 25, 2019
commit b3b09fc2e0da5a23a0c5c161d50e00b4c88ec1ac
4 changes: 0 additions & 4 deletions src/nodejs_kernel_backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,6 @@ export class NodeJSKernelBackend extends KernelBackend {
return this.select(nans, x, stepNoNans) as T;
}

// tslint:disable-next-line:max-line-length
conv2d(x: Tensor4D, filter: Tensor4D, convInfo: Conv2DInfo): Tensor4D {
if (convInfo.padInfo.type !== 'VALID' && convInfo.padInfo.type !== 'SAME') {
throw new Error(
Expand All @@ -813,7 +812,6 @@ export class NodeJSKernelBackend extends KernelBackend {
return this.executeSingleOutput('Conv2D', opAttrs, [x, filter]) as Tensor4D;
}

// tslint:disable-next-line:max-line-length
conv2dDerInput(dy: Tensor4D, filter: Tensor4D, convInfo: Conv2DInfo):
Tensor4D {
if (convInfo.padInfo.type !== 'VALID' && convInfo.padInfo.type !== 'SAME') {
Expand Down Expand Up @@ -842,7 +840,6 @@ export class NodeJSKernelBackend extends KernelBackend {
Tensor4D;
}

// tslint:disable-next-line:max-line-length
conv2dDerFilter(x: Tensor4D, dy: Tensor4D, convInfo: Conv2DInfo): Tensor4D {
if (convInfo.padInfo.type !== 'VALID' && convInfo.padInfo.type !== 'SAME') {
throw new Error(
Expand Down Expand Up @@ -870,7 +867,6 @@ export class NodeJSKernelBackend extends KernelBackend {
Tensor4D;
}

// tslint:disable-next-line:max-line-length
depthwiseConv2DDerInput(dy: Tensor4D, filter: Tensor4D, convInfo: Conv2DInfo):
Tensor4D {
const strides = [1, convInfo.strideHeight, convInfo.strideWidth, 1];
Expand Down