@tensorflow/tfjs-backend-webgl
Advanced tools
Comparing version 2.0.0-rc.1 to 2.0.0-rc.3
@@ -17,4 +17,8 @@ /** | ||
*/ | ||
import { MathBackendWebGL } from './backend_webgl'; | ||
export { MathBackendWebGL }; | ||
export { version as version_webgl } from './version'; | ||
import './register_all_kernels'; | ||
export * from './webgl'; | ||
import { forceHalfFloat } from './webgl'; | ||
export declare const webgl: { | ||
forceHalfFloat: typeof forceHalfFloat; | ||
}; |
@@ -19,3 +19,3 @@ /** | ||
import { MathBackendWebGL } from './backend_webgl'; | ||
export { MathBackendWebGL }; | ||
export { version as version_webgl } from './version'; | ||
if (device_util.isBrowser()) { | ||
@@ -25,2 +25,7 @@ registerBackend('webgl', () => new MathBackendWebGL(), 2 /* priority */); | ||
import './register_all_kernels'; | ||
// Export webgl utilities | ||
export * from './webgl'; | ||
// Export forceHalfFlost under webgl namespace for the union bundle. | ||
import { forceHalfFloat } from './webgl'; | ||
export const webgl = { forceHalfFloat }; | ||
//# sourceMappingURL=index.js.map |
@@ -17,6 +17,6 @@ /** | ||
*/ | ||
import { transposeImpl as transposeImplCPU } from '@tensorflow/tfjs-backend-cpu/dist/shared'; | ||
import { shared } from '@tensorflow/tfjs-backend-cpu'; | ||
import { TensorInfo } from '@tensorflow/tfjs-core'; | ||
import { MathBackendWebGL } from '../backend_webgl'; | ||
export declare function transposeImpl(x: TensorInfo, perm: number[], backend: MathBackendWebGL): TensorInfo; | ||
export { transposeImplCPU }; | ||
export declare const transposeImplCPU: typeof shared.transposeImpl; |
@@ -17,4 +17,3 @@ /** | ||
*/ | ||
// tslint:disable-next-line: no-imports-from-dist | ||
import { transposeImpl as transposeImplCPU } from '@tensorflow/tfjs-backend-cpu/dist/shared'; | ||
import { shared } from '@tensorflow/tfjs-backend-cpu'; | ||
import { env } from '@tensorflow/tfjs-core'; | ||
@@ -29,3 +28,3 @@ import { TransposeProgram } from '../transpose_gpu'; | ||
} | ||
export { transposeImplCPU }; | ||
export const transposeImplCPU = shared.transposeImpl; | ||
//# sourceMappingURL=Transpose_impl.js.map |
/** @license See the LICENSE file. */ | ||
declare const version = "tfjs_2.0.0-rc.1"; | ||
declare const version = "2.0.0-rc.3"; | ||
export { version }; |
/** @license See the LICENSE file. */ | ||
// This code is auto-generated, do not modify this file! | ||
const version = 'tfjs_2.0.0-rc.1'; | ||
const version = '2.0.0-rc.3'; | ||
export { version }; | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@tensorflow/tfjs-backend-webgl", | ||
"version": "2.0.0-rc.1", | ||
"version": "2.0.0-rc.3", | ||
"description": "GPU accelerated WebGL backend for TensorFlow.js", | ||
@@ -26,3 +26,3 @@ "private": false, | ||
"@rollup/plugin-typescript": "^3.0.0", | ||
"@tensorflow/tfjs-core": "2.0.0-rc.1", | ||
"@tensorflow/tfjs-core": "2.0.0-rc.3", | ||
"@types/jasmine": "~3.0.0", | ||
@@ -71,3 +71,3 @@ "clang-format": "~1.2.4", | ||
"dependencies": { | ||
"@tensorflow/tfjs-backend-cpu": "2.0.0-rc.1", | ||
"@tensorflow/tfjs-backend-cpu": "2.0.0-rc.3", | ||
"@types/offscreencanvas": "~2019.3.0", | ||
@@ -80,3 +80,3 @@ "@types/seedrandom": "2.4.27", | ||
"peerDependencies": { | ||
"@tensorflow/tfjs-core": "2.0.0-rc.1" | ||
"@tensorflow/tfjs-core": "2.0.0-rc.3" | ||
}, | ||
@@ -83,0 +83,0 @@ "browser": { |
@@ -20,3 +20,3 @@ /** | ||
import {MathBackendWebGL} from './backend_webgl'; | ||
export {MathBackendWebGL}; | ||
export {version as version_webgl} from './version'; | ||
@@ -27,1 +27,8 @@ if (device_util.isBrowser()) { | ||
import './register_all_kernels'; | ||
// Export webgl utilities | ||
export * from './webgl'; | ||
// Export forceHalfFlost under webgl namespace for the union bundle. | ||
import {forceHalfFloat} from './webgl'; | ||
export const webgl = {forceHalfFloat}; |
@@ -18,4 +18,3 @@ /** | ||
// tslint:disable-next-line: no-imports-from-dist | ||
import {transposeImpl as transposeImplCPU} from '@tensorflow/tfjs-backend-cpu/dist/shared'; | ||
import {shared} from '@tensorflow/tfjs-backend-cpu'; | ||
import {env, TensorInfo} from '@tensorflow/tfjs-core'; | ||
@@ -35,2 +34,2 @@ | ||
export {transposeImplCPU}; | ||
export const transposeImplCPU = shared.transposeImpl; |
/** @license See the LICENSE file. */ | ||
// This code is auto-generated, do not modify this file! | ||
const version = 'tfjs_2.0.0-rc.1'; | ||
const version = '2.0.0-rc.3'; | ||
export {version}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7435665
58503
+ Added@tensorflow/tfjs-backend-cpu@2.0.0-rc.3(transitive)
+ Added@tensorflow/tfjs-core@2.0.0-rc.3(transitive)
- Removed@tensorflow/tfjs-backend-cpu@2.0.0-rc.1(transitive)
- Removed@tensorflow/tfjs-core@2.0.0-rc.1(transitive)