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