Skip to content
This repository was archived by the owner on Sep 17, 2022. It is now read-only.
Open
Show file tree
Hide file tree
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 dist
  • Loading branch information
WenheLI committed Jul 24, 2019
commit c970c844a0244d6a7d8d8b4c9540df1182ca6e06
9 changes: 4 additions & 5 deletions src/nodejs_kernel_backend.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,11 @@

// tslint:disable-next-line:max-line-length
import {BackendTimingInfo, DataMover, DataType, fill, KernelBackend, ones, Rank, rsqrt, Scalar, scalar, ShapeMap, Tensor, Tensor1D, tensor1d, Tensor2D, tensor2d, Tensor3D, tensor3d, Tensor4D, tidy, util} from '@tensorflow/tfjs-core';
// tslint:disable-next-line:no-imports-from-dist
import {EPSILON_FLOAT32} from '@tensorflow/tfjs-core/dist/backends/backend';
import {EPSILON_FLOAT32} from '@tensorflow/tfjs-core';
import {Conv2DInfo, Conv3DInfo} from '@tensorflow/tfjs-core';
import {Activation} from '@tensorflow/tfjs-core/dist/ops/fused_util';
import {Tensor5D} from '@tensorflow/tfjs-core/dist/tensor';
import {BackendValues, upcastType} from '@tensorflow/tfjs-core/dist/types';
import {Activation} from '@tensorflow/tfjs-core';
import {Tensor5D} from '@tensorflow/tfjs-core';
import {BackendValues, upcastType} from '@tensorflow/tfjs-core';
import {isNullOrUndefined} from 'util';
import {Int64Scalar} from './int64_tensors';
// tslint:disable-next-line:max-line-length
Expand Down
6 changes: 3 additions & 3 deletions src/nodejs_kernel_backend_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
*/

import * as tf from '@tensorflow/tfjs-core';
import {Tensor5D} from '@tensorflow/tfjs-core/dist/tensor';
import {Tensor5D} from '@tensorflow/tfjs-core';
// tslint:disable-next-line:max-line-length
import {expectArraysClose} from '@tensorflow/tfjs-core/dist/test_util';
import {test_util} from '@tensorflow/tfjs-core';
import {NodeJSKernelBackend} from './nodejs_kernel_backend';

const {expectArraysClose} = test_util;
describe('delayed upload', () => {
it('should handle data before op execution', async () => {
const t = tf.tensor1d([1, 2, 3]);
Expand Down
1 change: 1 addition & 0 deletions src/run_tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

// We import index.ts so that the Node backend gets registered.
import './index';
// tslint:disable-next-line:no-imports-from-dist
import * as jasmine_util from '@tensorflow/tfjs-core/dist/jasmine_util';

Error.stackTraceLimit = Infinity;
Expand Down
2 changes: 1 addition & 1 deletion src/tfjs_binding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* =============================================================================
*/

import {BackendValues} from '@tensorflow/tfjs-core/dist/types';
import {BackendValues} from '@tensorflow/tfjs-core';

export declare class TensorMetadata {
id: number;
Expand Down