public interface WithShapeOrScalarOrVectorOnDevice<V> extends WithShapeOrScalarOrVectorTensor<V>
| Modifier and Type | Method and Description |
|---|---|
WithShapeOrScalarOrVectorTensor<V> |
on(Device<? super V> device)
Use this to specify the type onto which the tensor should be stored.
|
WithShapeOrScalarOrVectorTensor<V> on(Device<? super V> device)
device - The Device which should host the tensor built by this builder.