Skip to content
This repository was archived by the owner on Aug 15, 2019. It is now read-only.

Commit 9b8949f

Browse files
Lewuathedsmilkov
authored andcommitted
Apply no-consecutive-blank-lines in tslint (#165)
* Apply no-consecutive-blank-lines in tslint * Merge branch 'master' into apply-no-consecutive-blank-lines
1 parent 3477299 commit 9b8949f

27 files changed

+1
-35
lines changed

demos/adder/adder.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ class Adder {
4545
}
4646
}
4747

48-
4948
const adder = new Adder();
5049
adder.setupSession();
5150

demos/benchmarks/math-benchmark-run-groups.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* =============================================================================
1616
*/
1717

18-
1918
import {BenchmarkRun, BenchmarkRunGroup} from './benchmark';
2019
import {ConvBenchmarkParams, ConvGPUBenchmark} from './conv_benchmarks';
2120
// tslint:disable-next-line:max-line-length

demos/complementary-color-prediction/complementary-color-prediction.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
// tslint:disable-next-line:max-line-length
1919
import {Array1D, CostReduction, FeedEntry, Graph, InCPUMemoryShuffledInputProviderBuilder, NDArrayMath, NDArrayMathGPU, Session, SGDOptimizer, Tensor} from '../deeplearn';
2020

21-
2221
class ComplementaryColorModel {
2322
// Runs training.
2423
session: Session;

demos/homepage/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ function startCPPN() {
7070
const DEFAULT_NUM_LAYERS = 2;
7171
const WEIGHTS_STDEV = 0.6;
7272

73-
7473
const cppn = new CPPN(inferenceCanvas);
7574

7675
cppn.setActivationFunction('tanh');

demos/model-builder/model-builder.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,6 @@ export class ModelBuilder extends ModelBuilderPolymer {
301301
return applicationState === ApplicationState.IDLE;
302302
}
303303

304-
305-
306304
private getTestData(): NDArray[][] {
307305
const data = this.dataSet.getData();
308306
if (data == null) {

demos/one_plus_one/one_plus_one.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class Adder {
4646
}
4747
}
4848

49-
5049
const adder = new Adder();
5150
adder.setupSession();
5251
const result = adder.computeSum(1, 1);

src/data/input_provider_test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ import {Array1D, Scalar} from '../math/ndarray';
2121

2222
import {InCPUMemoryShuffledInputProviderBuilder} from './input_provider';
2323

24-
2524
describe('InCPUMemoryShuffledInputProviderBuilder', () => {
2625
let math: NDArrayMathCPU;
2726

src/environment_test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ describe('disjoint query timer enabled', () => {
7878
expect(env.get('WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_ENABLED')).toBe(true);
7979
});
8080

81-
8281
});
8382
describe('WEBGL_DISJOINT_QUERY_TIMER_EXTENSION_RELIABLE', () => {
8483
it('disjoint query timer disabled', () => {

src/graph/graph.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ export class Graph {
136136
new FusedLinearCombinationNode(this, x1, x2, c1, c2));
137137
}
138138

139-
140139
/**
141140
* Adds two tensors (elementwise). Broadcasts if one of the tensors is scalar.
142141
* @param x1 The first input tensor.

src/graph/ops/convolution_test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ describe('Convolution', () => {
285285
dy.get(1, 0) * weights.get(1, 1, 0, 0) +
286286
dy.get(1, 1) * weights.get(1, 0, 0, 0));
287287

288-
289288
// Test dW.
290289
const dw = gradients.get(wTensor);
291290

0 commit comments

Comments
 (0)