Method NewTempTensorFloat
NewTempTensorFloat(TensorShape)
Allocate a new TensorFloat of a given shape using the AllocScope.InternalToLayer scope.
Declaration
TensorFloat NewTempTensorFloat(TensorShape shape)
Parameters
| Type | Name | Description |
|---|---|---|
| TensorShape | shape | The shape of the tensor. |
Returns
| Type | Description |
|---|---|
| TensorFloat | The allocated tensor. |