SKaiNET
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
SKaiNET
skainet-io-onnx
/
onnx
/
TypeProto
/
Tensor
Tensor
data
class
Tensor
(
val
elemType
:
Int
=
0
,
val
shape
:
TensorShapeProto
?
=
null
,
val
unknownFields
:
Map
<
Int
,
UnknownField
>
=
emptyMap()
)
:
Message
(
source
)
Members
Members & Extensions
Constructors
Tensor
Link copied to clipboard
constructor
(
elemType
:
Int
=
0
,
shape
:
TensorShapeProto
?
=
null
,
unknownFields
:
Map
<
Int
,
UnknownField
>
=
emptyMap()
)
Types
Companion
Link copied to clipboard
object
Companion
:
Message.Companion
<
TypeProto.Tensor
>
Properties
descriptor
Link copied to clipboard
open
override
val
descriptor
:
MessageDescriptor
<
TypeProto.Tensor
>
elem
Type
Link copied to clipboard
val
elemType
:
Int
proto
Size
Link copied to clipboard
open
override
val
protoSize
:
Int
shape
Link copied to clipboard
val
shape
:
TensorShapeProto
?
unknown
Fields
Link copied to clipboard
open
override
val
unknownFields
:
Map
<
Int
,
UnknownField
>
Functions
or
Default
Link copied to clipboard
fun
TypeProto.Tensor
?
.
orDefault
(
)
:
TypeProto.Tensor
plus
Link copied to clipboard
open
operator override
fun
plus
(
other
:
Message
?
)
:
TypeProto.Tensor