1*14675a02SAndroid Build Coastguard Worker// Copyright 2020 Google LLC 2*14675a02SAndroid Build Coastguard Worker// 3*14675a02SAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*14675a02SAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*14675a02SAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*14675a02SAndroid Build Coastguard Worker// 7*14675a02SAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*14675a02SAndroid Build Coastguard Worker// 9*14675a02SAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*14675a02SAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*14675a02SAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*14675a02SAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*14675a02SAndroid Build Coastguard Worker// limitations under the License. 14*14675a02SAndroid Build Coastguard Worker 15*14675a02SAndroid Build Coastguard Workerinclude "fcp/tracing/tracing_schema_common.fbs"; 16*14675a02SAndroid Build Coastguard Worker 17*14675a02SAndroid Build Coastguard Workertable RunTfOp(tag: "TFOP", span) { 18*14675a02SAndroid Build Coastguard Worker op: string; 19*14675a02SAndroid Build Coastguard Worker} 20*14675a02SAndroid Build Coastguard Worker 21*14675a02SAndroid Build Coastguard Workertable SaveToCheckpoint(tag: "SCPT", span) { 22*14675a02SAndroid Build Coastguard Worker before_save_op: string; 23*14675a02SAndroid Build Coastguard Worker save_op: string; 24*14675a02SAndroid Build Coastguard Worker after_save_op: string; 25*14675a02SAndroid Build Coastguard Worker} 26*14675a02SAndroid Build Coastguard Worker 27*14675a02SAndroid Build Coastguard Workertable RestoreFromCheckpoint(tag: "RCPT", span) { 28*14675a02SAndroid Build Coastguard Worker before_restore_op: string; 29*14675a02SAndroid Build Coastguard Worker restore_op: string; 30*14675a02SAndroid Build Coastguard Worker after_restore_op: string; 31*14675a02SAndroid Build Coastguard Worker} 32*14675a02SAndroid Build Coastguard Worker 33*14675a02SAndroid Build Coastguard Workertable RestoreFromTensors(tag: "RFTS", span) { 34*14675a02SAndroid Build Coastguard Worker before_restore_op: string; 35*14675a02SAndroid Build Coastguard Worker after_restore_op: string; 36*14675a02SAndroid Build Coastguard Worker} 37*14675a02SAndroid Build Coastguard Worker 38*14675a02SAndroid Build Coastguard Workertable InvalidCheckpointOp (tag: "TFCO", error) { 39*14675a02SAndroid Build Coastguard Worker field: string; // The name of the field in the checkpoint op that is invalid. 40*14675a02SAndroid Build Coastguard Worker message: string; // Information about why the provided value is invalid. 41*14675a02SAndroid Build Coastguard Worker} 42*14675a02SAndroid Build Coastguard Worker 43*14675a02SAndroid Build Coastguard Workertable TmpFileNotDeleted (tag: "TMPD", warning) { 44*14675a02SAndroid Build Coastguard Worker field: string; // The name of the file that could not be deleted successfully. 45*14675a02SAndroid Build Coastguard Worker}