UNPKG

@tensorflow/tfjs-core

Version:

Hardware-accelerated JavaScript library for machine intelligence

92 lines (86 loc) 3.21 kB
/** * @license * Copyright 2020 Google Inc. All Rights Reserved. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ============================================================================= */ // Modularized ops. export {add} from './add'; export {addN} from './add_n'; export {batchNorm, batchNormalization} from './batchnorm'; export {batchNorm2d, batchNormalization2d} from './batchnorm2d'; export {batchNorm3d, batchNormalization3d} from './batchnorm3d'; export {batchNorm4d, batchNormalization4d} from './batchnorm4d'; export {broadcastTo} from './broadcast_to'; export {clone} from './clone'; export {div} from './div'; export {divNoNan} from './div_no_nan'; export {eye} from './eye'; export {multinomial} from './multinomial'; export {oneHot} from './one_hot'; export {pad} from './pad'; export {pad1d} from './pad1d'; export {pad2d} from './pad2d'; export {pad3d} from './pad3d'; export {pad4d} from './pad4d'; export {rand} from './rand'; export {randomGamma} from './random_gamma'; export {randomNormal} from './random_normal'; export {randomUniform} from './random_uniform'; export {square} from './square'; export {squaredDifference} from './squared_difference'; export {tile} from './tile'; export {truncatedNormal} from './truncated_normal'; export * from './boolean_mask'; export * from './complex_ops'; export * from './concat_split'; // Selectively exporting to avoid exposing gradient ops. export {conv1d, conv2d, conv3d, depthwiseConv2d, separableConv2d, conv2dTranspose, conv3dTranspose} from './conv'; export * from './matmul'; export * from './reverse'; export * from './pool'; export * from './slice'; export * from './unary_ops'; export * from './reduction_ops'; export * from './compare'; export * from './binary_ops'; export * from './relu_ops'; export * from './logical_ops'; export * from './array_ops'; export * from './tensor_ops'; export * from './transpose'; export * from './softmax'; export * from './lrn'; export * from './norm'; export * from './segment_ops'; export * from './lstm'; export * from './moving_average'; export * from './strided_slice'; export * from './topk'; export * from './scatter_nd'; export * from './spectral_ops'; export * from './sparse_to_dense'; export * from './gather_nd'; export * from './diag'; export * from './dropout'; export * from './signal_ops'; export * from './in_top_k'; export {op} from './operation'; // Second level exports. import * as losses from './loss_ops'; import * as linalg from './linalg_ops'; import * as image from './image_ops'; import * as spectral from './spectral_ops'; import * as fused from './fused_ops'; import * as signal from './signal_ops'; export {image, linalg, losses, spectral, fused, signal};