Python class
TensorValue
TensorValue
β
Represents a value semantic tensor within a Graph.
T
β
property T*: TensorValue*
dtype
β
property dtype*: DType*
from_dim()
β
static from_dim(dim: int | str | Dim | integer) β TensorValue
from_shape()
β
static from_shape(shape: Iterable[int | str | Dim | integer]) β TensorValue
print()
β
print(label: str = 'debug_tensor')
rank
β
property rank*: int*
rebind()
β
rebind(shape: Iterable[int | str | Dim | integer]) β TensorValue
reshape()
β
reshape(shape: Iterable[int | str | Dim | integer]) β TensorValue
shape
β
property shape*: Shape*
Returns the shape of the TensorValue.
transpose()
β
transpose(dim_1: int, dim_2: int) β TensorValue
type
β
property type*: TensorType*
Returns the type of the TensorValue as a TensorType.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!
If you'd like to share more information, please report an issue on GitHub
π What went wrong?