SKaiNET
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
SKaiNET
skainet-io-onnx
/
sk.ainet.io.onnx
/
OnnxTensorView
Onnx
Tensor
View
data
class
OnnxTensorView
(
val
name
:
String
,
val
shape
:
List
<
Long
>
,
val
dtype
:
String
,
val
proto
:
TensorProto
)
(
source
)
Members
Members & Extensions
Constructors
Onnx
Tensor
View
Link copied to clipboard
constructor
(
name
:
String
,
shape
:
List
<
Long
>
,
dtype
:
String
,
proto
:
TensorProto
)
Properties
dtype
Link copied to clipboard
val
dtype
:
String
name
Link copied to clipboard
val
name
:
String
proto
Link copied to clipboard
val
proto
:
TensorProto
shape
Link copied to clipboard
val
shape
:
List
<
Long
>
Functions
to
Tensor
Link copied to clipboard
fun
OnnxTensorView
.
toTensor
(
ctx
:
ExecutionContext
)
:
Tensor
<
FP32
,
Float
>
Convenience to decode through the OnnxTensorView wrapper.