| 232 | } |
| 233 | |
| 234 | void 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 | |
| 255 | import * as tfc from '@tensorflow/tfjs-core'; |
| 256 | import {createTensorsTypeOpAttr, nodeBackend} from './op_utils'; |
| 257 | |
| 258 | )header"; |
| 259 | |
| 260 | TF_CHECK_OK(ts_file->Append(header)); |
| 261 | } |
| 262 | |
| 263 | } // namespace |
| 264 | |