Tensor Tiling Library
 
Loading...
Searching...
No Matches
TTL_schemes_common.h
Go to the documentation of this file.
1/*
2 * TTL_schemes_common.h
3 *
4 * Copyright (c) 2023 Mobileye
5 *
6 * Licensed under the Apache License, Version 2.0 (the License);
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an AS IS BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18
19// This file presumes that the following have been pre included.
20// this is not done here for path reasons.
21// #include "TTL_core.h"
22
23/*
24 * TTL_schemes_common.h
25 *
26 * Copyright (c) 2023 Mobileye
27 *
28 * Licensed under the Apache License, Version 2.0 (the License);
29 * you may not use this file except in compliance with the License.
30 * You may obtain a copy of the License at
31 *
32 * http://www.apache.org/licenses/LICENSE-2.0
33 *
34 * Unless required by applicable law or agreed to in writing, software
35 * distributed under the License is distributed on an AS IS BASIS,
36 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
37 * See the License for the specific language governing permissions and
38 * limitations under the License.
39 */
40
41// This file presumes that the following have been pre included.
42// this is not done here for path reasons.
43// #include "TTL_core.h"
44/**
45 * @def TTL_common_buffering_t
46 * @brief Common data for description of TTL pipelining.
47 *
48 * @param ext_base_type Is the type of the pointer that is the internal base. Generall const 'void *' or 'void *'
49 * @param ext_tensor_in_type Is the type of the external tensor used for import
50 * @param ext_tensor_out_type Is the type of the external tensor used for export
51 * @param int_bases The number of int base address required.
52 *
53 * Contains all the common elements of the pipeline schemes. The more
54 * information that can be made common the more opportunity exists for future
55 * optimizations and development.
56 */
57/**
58 * @brief Describes a pair of internal Tensors after an operation.
59 *
60 * The most likely usage is that compute input comes from the imported_to
61 * TTL_int_tensor_t and the compute output goes to the to_export_from
62 * TTL_int_tensor_t.
63 *
64 */
65typedef struct {
66 TTL_int_void_sub_tensor_t imported_to; ///< The TTL_int_sub_tensor_t that was most recently imported
67 TTL_int_void_sub_tensor_t to_export_from; ///< The TTL_int_sub_tensor_t that will be exported next
69
70/**
71 * @brief Create a TTL_io_tensors_t from a pair of tensors
72 *
73 * @param imported_to The TTL_intTTL_int_sub_tensor_t_tensor_t that was most recently imported
74 * @param to_export_from The TTL_iTTL_int_sub_tensor_tnt_tensor_t that will be exported next
75 *
76 * @return A TTL_io_tensors_t structure
77 */
78static inline TTL_io_void_tensor_t __attribute__((overloadable)) TTL_create_io_tensors(
79 TTL_int_void_sub_tensor_t imported_to, TTL_int_void_sub_tensor_t to_export_from) {
81 result.imported_to = imported_to;
82 result.to_export_from = to_export_from;
83
84 return result;
85}
86
87static inline int __attribute__((overloadable)) TTL_tensors_empty(TTL_io_void_tensor_t tensors) {
89}
90/*
91 * TTL_schemes_common.h
92 *
93 * Copyright (c) 2023 Mobileye
94 *
95 * Licensed under the Apache License, Version 2.0 (the License);
96 * you may not use this file except in compliance with the License.
97 * You may obtain a copy of the License at
98 *
99 * http://www.apache.org/licenses/LICENSE-2.0
100 *
101 * Unless required by applicable law or agreed to in writing, software
102 * distributed under the License is distributed on an AS IS BASIS,
103 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
104 * See the License for the specific language governing permissions and
105 * limitations under the License.
106 */
107
108// This file presumes that the following have been pre included.
109// this is not done here for path reasons.
110// #include "TTL_core.h"
111/**
112 * @def TTL_common_buffering_t
113 * @brief Common data for description of TTL pipelining.
114 *
115 * @param ext_base_type Is the type of the pointer that is the internal base. Generall const 'void *' or 'void *'
116 * @param ext_tensor_in_type Is the type of the external tensor used for import
117 * @param ext_tensor_out_type Is the type of the external tensor used for export
118 * @param int_bases The number of int base address required.
119 *
120 * Contains all the common elements of the pipeline schemes. The more
121 * information that can be made common the more opportunity exists for future
122 * optimizations and development.
123 */
124/**
125 * @brief Describes a pair of internal Tensors after an operation.
126 *
127 * The most likely usage is that compute input comes from the imported_to
128 * TTL_int_tensor_t and the compute output goes to the to_export_from
129 * TTL_int_tensor_t.
130 *
131 */
132typedef struct {
133 TTL_int_char_sub_tensor_t imported_to; ///< The TTL_int_sub_tensor_t that was most recently imported
134 TTL_int_char_sub_tensor_t to_export_from; ///< The TTL_int_sub_tensor_t that will be exported next
136
137/**
138 * @brief Create a TTL_io_tensors_t from a pair of tensors
139 *
140 * @param imported_to The TTL_intTTL_int_sub_tensor_t_tensor_t that was most recently imported
141 * @param to_export_from The TTL_iTTL_int_sub_tensor_tnt_tensor_t that will be exported next
142 *
143 * @return A TTL_io_tensors_t structure
144 */
145static inline TTL_io_char_tensor_t __attribute__((overloadable)) TTL_create_io_tensors(
146 TTL_int_char_sub_tensor_t imported_to, TTL_int_char_sub_tensor_t to_export_from) {
148 result.imported_to = imported_to;
149 result.to_export_from = to_export_from;
150
151 return result;
152}
153
154static inline int __attribute__((overloadable)) TTL_tensors_empty(TTL_io_char_tensor_t tensors) {
156}
157/*
158 * TTL_schemes_common.h
159 *
160 * Copyright (c) 2023 Mobileye
161 *
162 * Licensed under the Apache License, Version 2.0 (the License);
163 * you may not use this file except in compliance with the License.
164 * You may obtain a copy of the License at
165 *
166 * http://www.apache.org/licenses/LICENSE-2.0
167 *
168 * Unless required by applicable law or agreed to in writing, software
169 * distributed under the License is distributed on an AS IS BASIS,
170 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
171 * See the License for the specific language governing permissions and
172 * limitations under the License.
173 */
174
175// This file presumes that the following have been pre included.
176// this is not done here for path reasons.
177// #include "TTL_core.h"
178/**
179 * @def TTL_common_buffering_t
180 * @brief Common data for description of TTL pipelining.
181 *
182 * @param ext_base_type Is the type of the pointer that is the internal base. Generall const 'void *' or 'void *'
183 * @param ext_tensor_in_type Is the type of the external tensor used for import
184 * @param ext_tensor_out_type Is the type of the external tensor used for export
185 * @param int_bases The number of int base address required.
186 *
187 * Contains all the common elements of the pipeline schemes. The more
188 * information that can be made common the more opportunity exists for future
189 * optimizations and development.
190 */
191/**
192 * @brief Describes a pair of internal Tensors after an operation.
193 *
194 * The most likely usage is that compute input comes from the imported_to
195 * TTL_int_tensor_t and the compute output goes to the to_export_from
196 * TTL_int_tensor_t.
197 *
198 */
199typedef struct {
200 TTL_int_uchar_sub_tensor_t imported_to; ///< The TTL_int_sub_tensor_t that was most recently imported
201 TTL_int_uchar_sub_tensor_t to_export_from; ///< The TTL_int_sub_tensor_t that will be exported next
203
204/**
205 * @brief Create a TTL_io_tensors_t from a pair of tensors
206 *
207 * @param imported_to The TTL_intTTL_int_sub_tensor_t_tensor_t that was most recently imported
208 * @param to_export_from The TTL_iTTL_int_sub_tensor_tnt_tensor_t that will be exported next
209 *
210 * @return A TTL_io_tensors_t structure
211 */
212static inline TTL_io_uchar_tensor_t __attribute__((overloadable)) TTL_create_io_tensors(
213 TTL_int_uchar_sub_tensor_t imported_to, TTL_int_uchar_sub_tensor_t to_export_from) {
215 result.imported_to = imported_to;
216 result.to_export_from = to_export_from;
217
218 return result;
219}
220
221static inline int __attribute__((overloadable)) TTL_tensors_empty(TTL_io_uchar_tensor_t tensors) {
223}
224/*
225 * TTL_schemes_common.h
226 *
227 * Copyright (c) 2023 Mobileye
228 *
229 * Licensed under the Apache License, Version 2.0 (the License);
230 * you may not use this file except in compliance with the License.
231 * You may obtain a copy of the License at
232 *
233 * http://www.apache.org/licenses/LICENSE-2.0
234 *
235 * Unless required by applicable law or agreed to in writing, software
236 * distributed under the License is distributed on an AS IS BASIS,
237 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
238 * See the License for the specific language governing permissions and
239 * limitations under the License.
240 */
241
242// This file presumes that the following have been pre included.
243// this is not done here for path reasons.
244// #include "TTL_core.h"
245/**
246 * @def TTL_common_buffering_t
247 * @brief Common data for description of TTL pipelining.
248 *
249 * @param ext_base_type Is the type of the pointer that is the internal base. Generall const 'void *' or 'void *'
250 * @param ext_tensor_in_type Is the type of the external tensor used for import
251 * @param ext_tensor_out_type Is the type of the external tensor used for export
252 * @param int_bases The number of int base address required.
253 *
254 * Contains all the common elements of the pipeline schemes. The more
255 * information that can be made common the more opportunity exists for future
256 * optimizations and development.
257 */
258/**
259 * @brief Describes a pair of internal Tensors after an operation.
260 *
261 * The most likely usage is that compute input comes from the imported_to
262 * TTL_int_tensor_t and the compute output goes to the to_export_from
263 * TTL_int_tensor_t.
264 *
265 */
266typedef struct {
267 TTL_int_int_sub_tensor_t imported_to; ///< The TTL_int_sub_tensor_t that was most recently imported
268 TTL_int_int_sub_tensor_t to_export_from; ///< The TTL_int_sub_tensor_t that will be exported next
270
271/**
272 * @brief Create a TTL_io_tensors_t from a pair of tensors
273 *
274 * @param imported_to The TTL_intTTL_int_sub_tensor_t_tensor_t that was most recently imported
275 * @param to_export_from The TTL_iTTL_int_sub_tensor_tnt_tensor_t that will be exported next
276 *
277 * @return A TTL_io_tensors_t structure
278 */
279static inline TTL_io_int_tensor_t __attribute__((overloadable)) TTL_create_io_tensors(
280 TTL_int_int_sub_tensor_t imported_to, TTL_int_int_sub_tensor_t to_export_from) {
281 TTL_io_int_tensor_t result;
282 result.imported_to = imported_to;
283 result.to_export_from = to_export_from;
284
285 return result;
286}
287
288static inline int __attribute__((overloadable)) TTL_tensors_empty(TTL_io_int_tensor_t tensors) {
290}
291/*
292 * TTL_schemes_common.h
293 *
294 * Copyright (c) 2023 Mobileye
295 *
296 * Licensed under the Apache License, Version 2.0 (the License);
297 * you may not use this file except in compliance with the License.
298 * You may obtain a copy of the License at
299 *
300 * http://www.apache.org/licenses/LICENSE-2.0
301 *
302 * Unless required by applicable law or agreed to in writing, software
303 * distributed under the License is distributed on an AS IS BASIS,
304 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
305 * See the License for the specific language governing permissions and
306 * limitations under the License.
307 */
308
309// This file presumes that the following have been pre included.
310// this is not done here for path reasons.
311// #include "TTL_core.h"
312/**
313 * @def TTL_common_buffering_t
314 * @brief Common data for description of TTL pipelining.
315 *
316 * @param ext_base_type Is the type of the pointer that is the internal base. Generall const 'void *' or 'void *'
317 * @param ext_tensor_in_type Is the type of the external tensor used for import
318 * @param ext_tensor_out_type Is the type of the external tensor used for export
319 * @param int_bases The number of int base address required.
320 *
321 * Contains all the common elements of the pipeline schemes. The more
322 * information that can be made common the more opportunity exists for future
323 * optimizations and development.
324 */
325/**
326 * @brief Describes a pair of internal Tensors after an operation.
327 *
328 * The most likely usage is that compute input comes from the imported_to
329 * TTL_int_tensor_t and the compute output goes to the to_export_from
330 * TTL_int_tensor_t.
331 *
332 */
333typedef struct {
334 TTL_int_uint_sub_tensor_t imported_to; ///< The TTL_int_sub_tensor_t that was most recently imported
335 TTL_int_uint_sub_tensor_t to_export_from; ///< The TTL_int_sub_tensor_t that will be exported next
337
338/**
339 * @brief Create a TTL_io_tensors_t from a pair of tensors
340 *
341 * @param imported_to The TTL_intTTL_int_sub_tensor_t_tensor_t that was most recently imported
342 * @param to_export_from The TTL_iTTL_int_sub_tensor_tnt_tensor_t that will be exported next
343 *
344 * @return A TTL_io_tensors_t structure
345 */
346static inline TTL_io_uint_tensor_t __attribute__((overloadable)) TTL_create_io_tensors(
347 TTL_int_uint_sub_tensor_t imported_to, TTL_int_uint_sub_tensor_t to_export_from) {
349 result.imported_to = imported_to;
350 result.to_export_from = to_export_from;
351
352 return result;
353}
354
355static inline int __attribute__((overloadable)) TTL_tensors_empty(TTL_io_uint_tensor_t tensors) {
357}
358/*
359 * TTL_schemes_common.h
360 *
361 * Copyright (c) 2023 Mobileye
362 *
363 * Licensed under the Apache License, Version 2.0 (the License);
364 * you may not use this file except in compliance with the License.
365 * You may obtain a copy of the License at
366 *
367 * http://www.apache.org/licenses/LICENSE-2.0
368 *
369 * Unless required by applicable law or agreed to in writing, software
370 * distributed under the License is distributed on an AS IS BASIS,
371 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
372 * See the License for the specific language governing permissions and
373 * limitations under the License.
374 */
375
376// This file presumes that the following have been pre included.
377// this is not done here for path reasons.
378// #include "TTL_core.h"
379/**
380 * @def TTL_common_buffering_t
381 * @brief Common data for description of TTL pipelining.
382 *
383 * @param ext_base_type Is the type of the pointer that is the internal base. Generall const 'void *' or 'void *'
384 * @param ext_tensor_in_type Is the type of the external tensor used for import
385 * @param ext_tensor_out_type Is the type of the external tensor used for export
386 * @param int_bases The number of int base address required.
387 *
388 * Contains all the common elements of the pipeline schemes. The more
389 * information that can be made common the more opportunity exists for future
390 * optimizations and development.
391 */
392/**
393 * @brief Describes a pair of internal Tensors after an operation.
394 *
395 * The most likely usage is that compute input comes from the imported_to
396 * TTL_int_tensor_t and the compute output goes to the to_export_from
397 * TTL_int_tensor_t.
398 *
399 */
400typedef struct {
401 TTL_int_short_sub_tensor_t imported_to; ///< The TTL_int_sub_tensor_t that was most recently imported
402 TTL_int_short_sub_tensor_t to_export_from; ///< The TTL_int_sub_tensor_t that will be exported next
404
405/**
406 * @brief Create a TTL_io_tensors_t from a pair of tensors
407 *
408 * @param imported_to The TTL_intTTL_int_sub_tensor_t_tensor_t that was most recently imported
409 * @param to_export_from The TTL_iTTL_int_sub_tensor_tnt_tensor_t that will be exported next
410 *
411 * @return A TTL_io_tensors_t structure
412 */
413static inline TTL_io_short_tensor_t __attribute__((overloadable)) TTL_create_io_tensors(
414 TTL_int_short_sub_tensor_t imported_to, TTL_int_short_sub_tensor_t to_export_from) {
416 result.imported_to = imported_to;
417 result.to_export_from = to_export_from;
418
419 return result;
420}
421
422static inline int __attribute__((overloadable)) TTL_tensors_empty(TTL_io_short_tensor_t tensors) {
424}
425/*
426 * TTL_schemes_common.h
427 *
428 * Copyright (c) 2023 Mobileye
429 *
430 * Licensed under the Apache License, Version 2.0 (the License);
431 * you may not use this file except in compliance with the License.
432 * You may obtain a copy of the License at
433 *
434 * http://www.apache.org/licenses/LICENSE-2.0
435 *
436 * Unless required by applicable law or agreed to in writing, software
437 * distributed under the License is distributed on an AS IS BASIS,
438 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
439 * See the License for the specific language governing permissions and
440 * limitations under the License.
441 */
442
443// This file presumes that the following have been pre included.
444// this is not done here for path reasons.
445// #include "TTL_core.h"
446/**
447 * @def TTL_common_buffering_t
448 * @brief Common data for description of TTL pipelining.
449 *
450 * @param ext_base_type Is the type of the pointer that is the internal base. Generall const 'void *' or 'void *'
451 * @param ext_tensor_in_type Is the type of the external tensor used for import
452 * @param ext_tensor_out_type Is the type of the external tensor used for export
453 * @param int_bases The number of int base address required.
454 *
455 * Contains all the common elements of the pipeline schemes. The more
456 * information that can be made common the more opportunity exists for future
457 * optimizations and development.
458 */
459/**
460 * @brief Describes a pair of internal Tensors after an operation.
461 *
462 * The most likely usage is that compute input comes from the imported_to
463 * TTL_int_tensor_t and the compute output goes to the to_export_from
464 * TTL_int_tensor_t.
465 *
466 */
467typedef struct {
468 TTL_int_ushort_sub_tensor_t imported_to; ///< The TTL_int_sub_tensor_t that was most recently imported
469 TTL_int_ushort_sub_tensor_t to_export_from; ///< The TTL_int_sub_tensor_t that will be exported next
471
472/**
473 * @brief Create a TTL_io_tensors_t from a pair of tensors
474 *
475 * @param imported_to The TTL_intTTL_int_sub_tensor_t_tensor_t that was most recently imported
476 * @param to_export_from The TTL_iTTL_int_sub_tensor_tnt_tensor_t that will be exported next
477 *
478 * @return A TTL_io_tensors_t structure
479 */
480static inline TTL_io_ushort_tensor_t __attribute__((overloadable)) TTL_create_io_tensors(
481 TTL_int_ushort_sub_tensor_t imported_to, TTL_int_ushort_sub_tensor_t to_export_from) {
483 result.imported_to = imported_to;
484 result.to_export_from = to_export_from;
485
486 return result;
487}
488
489static inline int __attribute__((overloadable)) TTL_tensors_empty(TTL_io_ushort_tensor_t tensors) {
491}
492/*
493 * TTL_schemes_common.h
494 *
495 * Copyright (c) 2023 Mobileye
496 *
497 * Licensed under the Apache License, Version 2.0 (the License);
498 * you may not use this file except in compliance with the License.
499 * You may obtain a copy of the License at
500 *
501 * http://www.apache.org/licenses/LICENSE-2.0
502 *
503 * Unless required by applicable law or agreed to in writing, software
504 * distributed under the License is distributed on an AS IS BASIS,
505 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
506 * See the License for the specific language governing permissions and
507 * limitations under the License.
508 */
509
510// This file presumes that the following have been pre included.
511// this is not done here for path reasons.
512// #include "TTL_core.h"
513/**
514 * @def TTL_common_buffering_t
515 * @brief Common data for description of TTL pipelining.
516 *
517 * @param ext_base_type Is the type of the pointer that is the internal base. Generall const 'void *' or 'void *'
518 * @param ext_tensor_in_type Is the type of the external tensor used for import
519 * @param ext_tensor_out_type Is the type of the external tensor used for export
520 * @param int_bases The number of int base address required.
521 *
522 * Contains all the common elements of the pipeline schemes. The more
523 * information that can be made common the more opportunity exists for future
524 * optimizations and development.
525 */
526/**
527 * @brief Describes a pair of internal Tensors after an operation.
528 *
529 * The most likely usage is that compute input comes from the imported_to
530 * TTL_int_tensor_t and the compute output goes to the to_export_from
531 * TTL_int_tensor_t.
532 *
533 */
534typedef struct {
535 TTL_int_long_sub_tensor_t imported_to; ///< The TTL_int_sub_tensor_t that was most recently imported
536 TTL_int_long_sub_tensor_t to_export_from; ///< The TTL_int_sub_tensor_t that will be exported next
538
539/**
540 * @brief Create a TTL_io_tensors_t from a pair of tensors
541 *
542 * @param imported_to The TTL_intTTL_int_sub_tensor_t_tensor_t that was most recently imported
543 * @param to_export_from The TTL_iTTL_int_sub_tensor_tnt_tensor_t that will be exported next
544 *
545 * @return A TTL_io_tensors_t structure
546 */
547static inline TTL_io_long_tensor_t __attribute__((overloadable)) TTL_create_io_tensors(
548 TTL_int_long_sub_tensor_t imported_to, TTL_int_long_sub_tensor_t to_export_from) {
550 result.imported_to = imported_to;
551 result.to_export_from = to_export_from;
552
553 return result;
554}
555
556static inline int __attribute__((overloadable)) TTL_tensors_empty(TTL_io_long_tensor_t tensors) {
558}
559/*
560 * TTL_schemes_common.h
561 *
562 * Copyright (c) 2023 Mobileye
563 *
564 * Licensed under the Apache License, Version 2.0 (the License);
565 * you may not use this file except in compliance with the License.
566 * You may obtain a copy of the License at
567 *
568 * http://www.apache.org/licenses/LICENSE-2.0
569 *
570 * Unless required by applicable law or agreed to in writing, software
571 * distributed under the License is distributed on an AS IS BASIS,
572 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
573 * See the License for the specific language governing permissions and
574 * limitations under the License.
575 */
576
577// This file presumes that the following have been pre included.
578// this is not done here for path reasons.
579// #include "TTL_core.h"
580/**
581 * @def TTL_common_buffering_t
582 * @brief Common data for description of TTL pipelining.
583 *
584 * @param ext_base_type Is the type of the pointer that is the internal base. Generall const 'void *' or 'void *'
585 * @param ext_tensor_in_type Is the type of the external tensor used for import
586 * @param ext_tensor_out_type Is the type of the external tensor used for export
587 * @param int_bases The number of int base address required.
588 *
589 * Contains all the common elements of the pipeline schemes. The more
590 * information that can be made common the more opportunity exists for future
591 * optimizations and development.
592 */
593/**
594 * @brief Describes a pair of internal Tensors after an operation.
595 *
596 * The most likely usage is that compute input comes from the imported_to
597 * TTL_int_tensor_t and the compute output goes to the to_export_from
598 * TTL_int_tensor_t.
599 *
600 */
601typedef struct {
602 TTL_int_ulong_sub_tensor_t imported_to; ///< The TTL_int_sub_tensor_t that was most recently imported
603 TTL_int_ulong_sub_tensor_t to_export_from; ///< The TTL_int_sub_tensor_t that will be exported next
605
606/**
607 * @brief Create a TTL_io_tensors_t from a pair of tensors
608 *
609 * @param imported_to The TTL_intTTL_int_sub_tensor_t_tensor_t that was most recently imported
610 * @param to_export_from The TTL_iTTL_int_sub_tensor_tnt_tensor_t that will be exported next
611 *
612 * @return A TTL_io_tensors_t structure
613 */
614static inline TTL_io_ulong_tensor_t __attribute__((overloadable)) TTL_create_io_tensors(
615 TTL_int_ulong_sub_tensor_t imported_to, TTL_int_ulong_sub_tensor_t to_export_from) {
617 result.imported_to = imported_to;
618 result.to_export_from = to_export_from;
619
620 return result;
621}
622
623static inline int __attribute__((overloadable)) TTL_tensors_empty(TTL_io_ulong_tensor_t tensors) {
625}
static bool TTL_int_tensor_empty(TTL_int_void_tensor_t tensor)
static TTL_io_void_tensor_t TTL_create_io_tensors(TTL_int_void_sub_tensor_t imported_to, TTL_int_void_sub_tensor_t to_export_from)
Create a TTL_io_tensors_t from a pair of tensors.
static int TTL_tensors_empty(TTL_io_void_tensor_t tensors)
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
const and non-const sub tensors in the appropriate address space
Describes a pair of internal Tensors after an operation.
TTL_int_char_sub_tensor_t to_export_from
The TTL_int_sub_tensor_t that will be exported next.
TTL_int_char_sub_tensor_t imported_to
The TTL_int_sub_tensor_t that was most recently imported.
Describes a pair of internal Tensors after an operation.
TTL_int_int_sub_tensor_t imported_to
The TTL_int_sub_tensor_t that was most recently imported.
TTL_int_int_sub_tensor_t to_export_from
The TTL_int_sub_tensor_t that will be exported next.
Describes a pair of internal Tensors after an operation.
TTL_int_long_sub_tensor_t imported_to
The TTL_int_sub_tensor_t that was most recently imported.
TTL_int_long_sub_tensor_t to_export_from
The TTL_int_sub_tensor_t that will be exported next.
Describes a pair of internal Tensors after an operation.
TTL_int_short_sub_tensor_t imported_to
The TTL_int_sub_tensor_t that was most recently imported.
TTL_int_short_sub_tensor_t to_export_from
The TTL_int_sub_tensor_t that will be exported next.
Describes a pair of internal Tensors after an operation.
TTL_int_uchar_sub_tensor_t imported_to
The TTL_int_sub_tensor_t that was most recently imported.
TTL_int_uchar_sub_tensor_t to_export_from
The TTL_int_sub_tensor_t that will be exported next.
Describes a pair of internal Tensors after an operation.
TTL_int_uint_sub_tensor_t to_export_from
The TTL_int_sub_tensor_t that will be exported next.
TTL_int_uint_sub_tensor_t imported_to
The TTL_int_sub_tensor_t that was most recently imported.
Describes a pair of internal Tensors after an operation.
TTL_int_ulong_sub_tensor_t imported_to
The TTL_int_sub_tensor_t that was most recently imported.
TTL_int_ulong_sub_tensor_t to_export_from
The TTL_int_sub_tensor_t that will be exported next.
Describes a pair of internal Tensors after an operation.
TTL_int_ushort_sub_tensor_t to_export_from
The TTL_int_sub_tensor_t that will be exported next.
TTL_int_ushort_sub_tensor_t imported_to
The TTL_int_sub_tensor_t that was most recently imported.
Describes a pair of internal Tensors after an operation.
TTL_int_void_sub_tensor_t imported_to
The TTL_int_sub_tensor_t that was most recently imported.
TTL_int_void_sub_tensor_t to_export_from
The TTL_int_sub_tensor_t that will be exported next.