UNPKG

1.56 kBJavaScriptView Raw
1"use strict";
2/**
3 * @license
4 * Copyright 2018 Google Inc. All Rights Reserved.
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 * =============================================================================
17 */
18Object.defineProperty(exports, "__esModule", { value: true });
19/**
20 * Public API symbols under the tf.node.* namespace.
21 */
22var callbacks_1 = require("./callbacks");
23var image_1 = require("./image");
24var saved_model_1 = require("./saved_model");
25var tensorboard_1 = require("./tensorboard");
26exports.node = {
27 decodeImage: image_1.decodeImage,
28 decodeBmp: image_1.decodeBmp,
29 decodeGif: image_1.decodeGif,
30 decodePng: image_1.decodePng,
31 decodeJpeg: image_1.decodeJpeg,
32 encodeJpeg: image_1.encodeJpeg,
33 encodePng: image_1.encodePng,
34 summaryFileWriter: tensorboard_1.summaryFileWriter,
35 tensorBoard: callbacks_1.tensorBoard,
36 getMetaGraphsFromSavedModel: saved_model_1.getMetaGraphsFromSavedModel,
37 getNumOfSavedModels: saved_model_1.getNumOfSavedModels,
38 loadSavedModel: saved_model_1.loadSavedModel
39};