Returns the underlying bytes of a tensor as a raw vector.
Arguments
- x
(
tensorish)
A tensor-like object.- ...
Additional arguments passed to method:
row_major(logical(1))
Whether to write the bytes in row-major order.
Value
A raw vector.
Details
This is implemented via the generic tengen::as_raw().