Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
fs-eire committed Sep 13, 2022
1 parent 86c75bb commit 99653f5
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions js/web/lib/onnxjs/backends/backend-webgpu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Licensed under the MIT License.

import {env} from 'onnxruntime-common';

import {Backend, SessionHandler} from '../backend';
import {Logger} from '../instrument';
import {Session} from '../session';
Expand Down
1 change: 1 addition & 0 deletions js/web/lib/onnxjs/backends/webgpu/ops/binary-op.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {Tensor} from '../../../tensor';
import {BroadcastUtil, ShapeUtil} from '../../../util';
import {WebGpuInferenceHandler} from '../inference-handler';
import {GpuDataType, ProgramInfo, ProgramInfoLoader, ProgramMetadata} from '../types';

import {createIndicesHelper, WORKGROUP_SIZE} from './common';

type BuiltinFunctionName = string;
Expand Down
1 change: 1 addition & 0 deletions js/web/lib/onnxjs/backends/webgpu/ops/concat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {Tensor} from '../../../tensor';
import {ShapeUtil} from '../../../util';
import {WebGpuInferenceHandler} from '../inference-handler';
import {GpuDataType, ProgramInfo, ProgramInfoLoader, ProgramMetadata} from '../types';

import {createIndicesHelper, IndicesHelper, WORKGROUP_SIZE} from './common';

export interface ConcatAttributes extends AttributeWithCacheKey {
Expand Down
1 change: 1 addition & 0 deletions js/web/lib/onnxjs/backends/webgpu/ops/gather.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import {Tensor} from '../../../tensor';
import {ShapeUtil} from '../../../util';
import {WebGpuInferenceHandler} from '../inference-handler';
import {GpuDataType, ProgramInfo, ProgramInfoLoader, ProgramMetadata} from '../types';

import {createIndicesHelper, WORKGROUP_SIZE} from './common';

interface GatherAttributes extends AttributeWithCacheKey {
Expand Down
1 change: 1 addition & 0 deletions js/web/lib/onnxjs/backends/webgpu/ops/unary-op.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {Tensor} from '../../../tensor';
import {MAX_CLIP, MIN_CLIP} from '../../../util';
import {WebGpuInferenceHandler} from '../inference-handler';
import {GpuDataType, ProgramInfo, ProgramInfoLoader, ProgramMetadata} from '../types';

import {WORKGROUP_SIZE} from './common';

type BuiltinFunctionName = string;
Expand Down
1 change: 1 addition & 0 deletions js/web/lib/onnxjs/backends/webgpu/tensor-data-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Licensed under the MIT License.

import {createView, Tensor} from '../../tensor';

import {createGpuDataManager, GpuDataManager} from './gpu-data-manager';
import {GpuData, GpuDataId, GpuDataType} from './types';

Expand Down
1 change: 1 addition & 0 deletions js/web/lib/onnxjs/backends/webgpu/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Licensed under the MIT License.

import {Guid} from 'guid-typescript';

import {Tensor} from '../../tensor';

export enum GpuDataType {
Expand Down

0 comments on commit 99653f5

Please sign in to comment.