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