UNPKG

3.91 kBTypeScriptView Raw
1/**
2 * @license
3 * Copyright 2018 Google LLC. All Rights Reserved.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 * =============================================================================
16 */
17/// <amd-module name="@tensorflow/tfjs-converter/dist/operations/op_mapper_schema" />
18export declare const json: {
19 $schema: string;
20 definitions: {
21 OpMapper: {
22 type: string;
23 properties: {
24 tfOpName: {
25 type: string;
26 };
27 category: {
28 $ref: string;
29 };
30 inputs: {
31 type: string;
32 items: {
33 $ref: string;
34 };
35 };
36 attrs: {
37 type: string;
38 items: {
39 $ref: string;
40 };
41 };
42 customExecutor: {
43 $ref: string;
44 };
45 outputs: {
46 type: string;
47 };
48 };
49 required: string[];
50 additionalProperties: boolean;
51 };
52 Category: {
53 type: string;
54 enum: string[];
55 };
56 InputParamMapper: {
57 type: string;
58 properties: {
59 name: {
60 type: string;
61 };
62 type: {
63 $ref: string;
64 };
65 defaultValue: {
66 anyOf: ({
67 type: string;
68 items?: undefined;
69 } | {
70 type: string;
71 items: {
72 type: string;
73 };
74 })[];
75 };
76 notSupported: {
77 type: string;
78 };
79 start: {
80 type: string;
81 };
82 end: {
83 type: string;
84 };
85 };
86 required: string[];
87 additionalProperties: boolean;
88 };
89 ParamTypes: {
90 type: string;
91 enum: string[];
92 };
93 AttrParamMapper: {
94 type: string;
95 properties: {
96 name: {
97 type: string;
98 };
99 type: {
100 $ref: string;
101 };
102 defaultValue: {
103 anyOf: ({
104 type: string;
105 items?: undefined;
106 } | {
107 type: string;
108 items: {
109 type: string;
110 };
111 })[];
112 };
113 notSupported: {
114 type: string;
115 };
116 tfName: {
117 type: string;
118 };
119 tfDeprecatedName: {
120 type: string;
121 };
122 };
123 required: string[];
124 additionalProperties: boolean;
125 };
126 OpExecutor: {
127 type: string;
128 additionalProperties: boolean;
129 };
130 };
131 items: {
132 $ref: string;
133 };
134 type: string;
135};