MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / StartFile

Function StartFile

tensorflow/js/ops/ts_op_gen.cc:234–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void StartFile(WritableFile* ts_file) {
235 const string header =
236 R"header(/**
237 * @license
238 * Copyright 2018 Google Inc. All Rights Reserved.
239 * Licensed under the Apache License, Version 2.0 (the "License");
240 * you may not use this file except in compliance with the License.
241 * You may obtain a copy of the License at
242 *
243 * http://www.apache.org/licenses/LICENSE-2.0
244 *
245 * Unless required by applicable law or agreed to in writing, software
246 * distributed under the License is distributed on an "AS IS" BASIS,
247 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
248 * See the License for the specific language governing permissions and
249 * limitations under the License.
250 * =============================================================================
251 */
252
253// This file is MACHINE GENERATED! Do not edit
254
255import * as tfc from '@tensorflow/tfjs-core';
256import {createTensorsTypeOpAttr, nodeBackend} from './op_utils';
257
258)header";
259
260 TF_CHECK_OK(ts_file->Append(header));
261}
262
263} // namespace
264

Callers 1

WriteTSOpsFunction · 0.85

Calls 1

AppendMethod · 0.45

Tested by

no test coverage detected