View source on GitHub |
Decode a Wavefront (obj) file into a float32 tensor.
tfio.experimental.image.decode_obj(
contents, name=None
)
Args | |
---|---|
contents
|
A 0-dimensional Tensor of type string, i.e the content of the Wavefront (.obj) file. |
name
|
A name for the operation (optional). |
Returns | |
---|---|
A Tensor of type float32 and shape of [n, 3] for vertices.
|