diff --git a/tfjs-converter/src/operations/executors/arithmetic_executor.ts b/tfjs-converter/src/operations/executors/arithmetic_executor.ts index 2e492f47f84..0afafca5096 100644 --- a/tfjs-converter/src/operations/executors/arithmetic_executor.ts +++ b/tfjs-converter/src/operations/executors/arithmetic_executor.ts @@ -23,7 +23,7 @@ import {InternalOpExecutor, Node} from '../types'; import {getParamValue} from './utils'; -export let executeOp: InternalOpExecutor = (node: Node, +export const executeOp: InternalOpExecutor = (node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext): tfc.Tensor[] => { diff --git a/tfjs-converter/src/operations/executors/basic_math_executor.ts b/tfjs-converter/src/operations/executors/basic_math_executor.ts index 52d92a6a1a7..89939037e67 100644 --- a/tfjs-converter/src/operations/executors/basic_math_executor.ts +++ b/tfjs-converter/src/operations/executors/basic_math_executor.ts @@ -23,7 +23,7 @@ import {InternalOpExecutor, Node} from '../types'; import {getParamValue, getTensor} from './utils'; -export let executeOp: InternalOpExecutor = (node: Node, +export const executeOp: InternalOpExecutor = (node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext): tfc.Tensor[] => { diff --git a/tfjs-converter/src/operations/executors/convolution_executor.ts b/tfjs-converter/src/operations/executors/convolution_executor.ts index a4f201a52c8..5910ea6fb30 100644 --- a/tfjs-converter/src/operations/executors/convolution_executor.ts +++ b/tfjs-converter/src/operations/executors/convolution_executor.ts @@ -23,7 +23,7 @@ import {InternalOpExecutor, Node} from '../types'; import {getParamValue} from './utils'; -export let executeOp: InternalOpExecutor = +export const executeOp: InternalOpExecutor = (node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext): tfc.Tensor[] => { switch (node.op) { diff --git a/tfjs-converter/src/operations/executors/creation_executor.ts b/tfjs-converter/src/operations/executors/creation_executor.ts index 11a817006a6..6b3359e84bd 100644 --- a/tfjs-converter/src/operations/executors/creation_executor.ts +++ b/tfjs-converter/src/operations/executors/creation_executor.ts @@ -23,7 +23,7 @@ import {InternalOpExecutor, Node} from '../types'; import {getParamValue} from './utils'; -export let executeOp: InternalOpExecutor = (node: Node, +export const executeOp: InternalOpExecutor = (node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext): tfc.Tensor[] => { diff --git a/tfjs-converter/src/operations/executors/evaluation_executor.ts b/tfjs-converter/src/operations/executors/evaluation_executor.ts index f5d2c2beaed..c2551ca3e33 100644 --- a/tfjs-converter/src/operations/executors/evaluation_executor.ts +++ b/tfjs-converter/src/operations/executors/evaluation_executor.ts @@ -23,7 +23,7 @@ import {InternalOpExecutor, Node} from '../types'; import {getParamValue} from './utils'; -export let executeOp: InternalOpExecutor = +export const executeOp: InternalOpExecutor = (node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext): tfc.Tensor[] => { switch (node.op) { diff --git a/tfjs-converter/src/operations/executors/graph_executor.ts b/tfjs-converter/src/operations/executors/graph_executor.ts index cd333b2d779..c788577f89f 100644 --- a/tfjs-converter/src/operations/executors/graph_executor.ts +++ b/tfjs-converter/src/operations/executors/graph_executor.ts @@ -23,7 +23,7 @@ import {InternalOpExecutor, Node} from '../types'; import {getParamValue, getTensor} from './utils'; -export let executeOp: InternalOpExecutor = (node: Node, +export const executeOp: InternalOpExecutor = (node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext): tfc.Tensor[] => { diff --git a/tfjs-converter/src/operations/executors/image_executor.ts b/tfjs-converter/src/operations/executors/image_executor.ts index 38459823b59..1607de79146 100644 --- a/tfjs-converter/src/operations/executors/image_executor.ts +++ b/tfjs-converter/src/operations/executors/image_executor.ts @@ -23,7 +23,7 @@ import {InternalOpExecutor, Node} from '../types'; import {getParamValue} from './utils'; -export let executeOp: InternalOpExecutor = (node: Node, +export const executeOp: InternalOpExecutor = (node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext): tfc.Tensor[] => { diff --git a/tfjs-converter/src/operations/executors/logical_executor.ts b/tfjs-converter/src/operations/executors/logical_executor.ts index e783443bc2d..d56321373cb 100644 --- a/tfjs-converter/src/operations/executors/logical_executor.ts +++ b/tfjs-converter/src/operations/executors/logical_executor.ts @@ -23,7 +23,7 @@ import {InternalOpExecutor, Node} from '../types'; import {getParamValue} from './utils'; -export let executeOp: InternalOpExecutor = (node: Node, +export const executeOp: InternalOpExecutor = (node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext): tfc.Tensor[] => { diff --git a/tfjs-converter/src/operations/executors/matrices_executor.ts b/tfjs-converter/src/operations/executors/matrices_executor.ts index ba8289a0684..86923607d36 100644 --- a/tfjs-converter/src/operations/executors/matrices_executor.ts +++ b/tfjs-converter/src/operations/executors/matrices_executor.ts @@ -23,7 +23,7 @@ import {InternalOpExecutor, Node} from '../types'; import {getParamValue} from './utils'; -export let executeOp: InternalOpExecutor = (node: Node, +export const executeOp: InternalOpExecutor = (node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext): tfc.Tensor[] => { diff --git a/tfjs-converter/src/operations/executors/normalization_executor.ts b/tfjs-converter/src/operations/executors/normalization_executor.ts index 16781ee4f9b..211cdf990ce 100644 --- a/tfjs-converter/src/operations/executors/normalization_executor.ts +++ b/tfjs-converter/src/operations/executors/normalization_executor.ts @@ -23,7 +23,7 @@ import {InternalOpExecutor, Node} from '../types'; import {getParamValue} from './utils'; -export let executeOp: InternalOpExecutor = (node: Node, +export const executeOp: InternalOpExecutor = (node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext): tfc.Tensor[] => { diff --git a/tfjs-converter/src/operations/executors/reduction_executor.ts b/tfjs-converter/src/operations/executors/reduction_executor.ts index 6e2b6304bfb..945b09f46c1 100644 --- a/tfjs-converter/src/operations/executors/reduction_executor.ts +++ b/tfjs-converter/src/operations/executors/reduction_executor.ts @@ -23,7 +23,7 @@ import {InternalOpExecutor, Node} from '../types'; import {getParamValue} from './utils'; -export let executeOp: InternalOpExecutor = (node: Node, +export const executeOp: InternalOpExecutor = (node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext): tfc.Tensor[] => { diff --git a/tfjs-converter/src/operations/executors/slice_join_executor.ts b/tfjs-converter/src/operations/executors/slice_join_executor.ts index 9812c4fd7cd..6187d1d9326 100644 --- a/tfjs-converter/src/operations/executors/slice_join_executor.ts +++ b/tfjs-converter/src/operations/executors/slice_join_executor.ts @@ -23,7 +23,7 @@ import {InternalOpExecutor, Node} from '../types'; import {getParamValue} from './utils'; -export let executeOp: InternalOpExecutor = (node: Node, +export const executeOp: InternalOpExecutor = (node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext): tfc.Tensor[] => { diff --git a/tfjs-converter/src/operations/executors/spectral_executor.ts b/tfjs-converter/src/operations/executors/spectral_executor.ts index 705f7210bbf..b665774f67a 100644 --- a/tfjs-converter/src/operations/executors/spectral_executor.ts +++ b/tfjs-converter/src/operations/executors/spectral_executor.ts @@ -23,7 +23,7 @@ import {InternalOpExecutor, Node} from '../types'; import {getParamValue} from './utils'; -export let executeOp: InternalOpExecutor = +export const executeOp: InternalOpExecutor = (node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext): tfc.Tensor[] => { switch (node.op) { diff --git a/tfjs-converter/src/operations/executors/transformation_executor.ts b/tfjs-converter/src/operations/executors/transformation_executor.ts index bc9f9708b95..62fba5759d8 100644 --- a/tfjs-converter/src/operations/executors/transformation_executor.ts +++ b/tfjs-converter/src/operations/executors/transformation_executor.ts @@ -23,7 +23,7 @@ import {InternalOpExecutor, Node} from '../types'; import {getParamValue, split} from './utils'; -export let executeOp: InternalOpExecutor = (node: Node, +export const executeOp: InternalOpExecutor = (node: Node, tensorMap: NamedTensorsMap, context: ExecutionContext): tfc.Tensor[] => {