aboutsummaryrefslogtreecommitdiff
path: root/chapters/data_nodes.adoc
blob: 5f454643adfd74d94e3eb330e5ec88cb187d9cef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//
// This confidential and proprietary software may be used only as
// authorised by a licensing agreement from ARM Limited
// (C) COPYRIGHT 2020-2022 ARM Limited
// ALL RIGHTS RESERVED
// The entire notice above must be reproduced on all authorised
// copies and copies may only be made to the extent permitted
// by a licensing agreement from ARM Limited.

=== Data Nodes

==== CONST

A node containing constant data for use as the input to an operation. May hold data in any of the supported data formats.

*Arguments:*

|===
|Argument|Type|Name|Shape|Description

|Attribute|out_t*|values|shape|Constant values
|Output|out_t*|output|shape|Output tensor of same type, size as the input tensor
|===

*Supported Data Types:*

|===
|Profile|Mode|out_t

|Any|Boolean|bool_t
|Any|signed 8|int8_t
|Any|signed 16|int16_t
|Any|signed 32|int32_t
|MI, MT|fp16|fp16_t
|MI, MT|bf16|bf16_t
|MI, MT|fp32|fp32_t
|===

==== IDENTITY

Returns a tensor with the same shape, type, and contents as the input.

*Arguments:*

|===
|Argument|Type|Name|Shape|Description

|Input|in_out_t*|input1|shape|Input tensor
|Output|in_out_t*|output|shape|Output tensor of same type, size as the input tensor
|===

*Supported Data Types:*

|===
|Profile|Mode|in_out_t

|Any|Boolean|bool_t
|Any|signed 8|int8_t
|Any|signed 16|int16_t
|Any|signed 32|int32_t
|MI, MT|fp16|fp16_t
|MI, MT|bf16|bf16_t
|MI, MT|fp32|fp32_t
|===