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