onnxruntime/js/web/lib/wasm/jsep/webgpu/ops/3rd-party
Yulong Wang 9aafbe3feb
[js/web] revise TensorView (#17473)
### Description

This change:
- removes the unused `Tensor` types declared in
/js/web/lib/wasm/jsep/tensor.ts
- removes duplicated util functions in  /js/web/lib/wasm/jsep/tensor.ts
- renames /js/web/lib/wasm/jsep/**tensor.ts** to
/js/web/lib/wasm/jsep/**tensor-view.ts** and update corresponding
references. It was kind of confusing that we have multiple `Tensor`
types defined in different places also we have multiple `tensor.ts`
source files.

This is one of the prerequisites for supporting IO binding for WebGPU
buffer in onnxruntime-web.

list of prerequisites PRs:
https://github.com/microsoft/onnxruntime/pull/17465
https://github.com/microsoft/onnxruntime/pull/17469
https://github.com/microsoft/onnxruntime/pull/17470
https://github.com/microsoft/onnxruntime/pull/17472
https://github.com/microsoft/onnxruntime/pull/17473 (this one)
2023-09-14 21:14:44 -07:00
..
activation_util.ts [JS/Web] Added Gelu contrib operator support to JSEP (#16909) 2023-07-31 09:18:58 -07:00
conv2d_mm_webgpu.ts [js/web] revise TensorView (#17473) 2023-09-14 21:14:44 -07:00
conv_backprop_webgpu.ts [js/web] revise TensorView (#17473) 2023-09-14 21:14:44 -07:00
conv_util.ts
matmul_packed_webgpu.ts [js/web] revise TensorView (#17473) 2023-09-14 21:14:44 -07:00