create_vector_int64
Function Usage
Creates an int64 vector tensor.
Prototype
1 | create_vector_int64(value: List[int]) -> TensorHolder |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
value |
Input |
Integer list. |
Returns
(TensorHolder) indicates the tensor holder of a vector.
Constraints
- If the value is not an integer list, TypeError is thrown.
- If the vector fails to be created, RuntimeError is thrown.
Parent topic: GraphBuilder